AssetPathEntity constructor

AssetPathEntity({
  1. required String id,
  2. required String name,
  3. @Deprecated('Use assetCountAsync instead. This will be removed in 3.0.0') int assetCount = 0,
  4. int albumType = 1,
  5. DateTime? lastModified,
  6. RequestType type = RequestType.common,
  7. bool isAll = false,
  8. PMFilter? filterOption,
  9. PMDarwinAssetCollectionSubtype? darwinSubtype,
  10. 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();