AssetPathEntity constructor
AssetPathEntity({
- required String id,
- required String name,
- @Deprecated('Use assetCountAsync instead. This will be removed in 3.0.0') int assetCount = 0,
- int albumType = 1,
- DateTime? lastModified,
- RequestType type = RequestType.common,
- bool isAll = false,
- PMFilter? filterOption,
- PMDarwinAssetCollectionSubtype? darwinSubtype,
- PMDarwinAssetCollectionType? darwinType,
Implementation
AssetPathEntity({
required this.id,
required this.name,
@Deprecated('Use assetCountAsync instead. This will be removed in 3.0.0')
this.assetCount = 0,
this.albumType = 1,
this.lastModified,
this.type = RequestType.common,
this.isAll = false,
PMFilter? filterOption,
this.darwinSubtype,
this.darwinType,
}) : filterOption = filterOption ??= FilterOptionGroup();