AssetPathEntity class

asset entity, for entity info.

Constructors

AssetPathEntity()

Properties

albumType int
In iOS: 1: album, 2: folder
getter/setter pair
assetCount int
gallery asset count
getter/setter pair
assetList Future<List<AssetEntity>>
all of asset, It is recommended to use the latest api (pagination) getAssetListPaged.
no setter
filterOption FilterOptionGroup
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
id
latefinal
isAll bool
This path is the path that contains all the assets.
getter/setter pair
lastModified DateTime?
The modification time of the latest asset contained in an album.
getter/setter pair
name String
name
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RequestType
The value used internally by the user. Used to indicate the value that should be available inside the path.
getter/setter pair
typeInt int
Users should not edit this value.
getter/setter pair

Methods

getAssetListPaged(int page, int pageSize) Future<List<AssetEntity>>
the image entity list with pagination
getAssetListRange({required int start, required int end}) Future<List<AssetEntity>>
The start and end like the String.substring.
getSubPathList() Future<List<AssetPathEntity>>
In android, always return empty list.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshPathProperties({bool maxDateTimeToNow = true}) Future<void>
Call this method to update the property
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromId(String id, {FilterOptionGroup? filterOption, RequestType type = RequestType.common, int albumType = 1}) Future<AssetPathEntity>
Obtained by AssetPathEntity.id, not recommended