AssetPathEntity constructor
AssetPathEntity({
- required String id,
- required String name,
- int albumType = 1,
- DateTime? lastModified,
- RequestType type = RequestType.common,
- bool isAll = false,
- PMFilter? filterOption,
- @Deprecated('Use `albumTypeEx.darwin.type` instead. ' 'This feature was deprecated after v3.1.0') PMDarwinAssetCollectionSubtype? darwinSubtype,
- @Deprecated('Use `albumTypeEx.darwin.subtype` instead. ' 'This feature was deprecated after v3.1.0') PMDarwinAssetCollectionType? darwinType,
- AlbumType? albumTypeEx,
Implementation
AssetPathEntity({
required this.id,
required this.name,
this.albumType = 1,
this.lastModified,
this.type = RequestType.common,
this.isAll = false,
PMFilter? filterOption,
@Deprecated(
'Use `albumTypeEx.darwin.type` instead. '
'This feature was deprecated after v3.1.0',
)
this.darwinSubtype,
@Deprecated(
'Use `albumTypeEx.darwin.subtype` instead. '
'This feature was deprecated after v3.1.0',
)
this.darwinType,
this.albumTypeEx,
}) : filterOption = filterOption ??= FilterOptionGroup();