AssetModel class
Asset model
Constructors
- AssetModel({required String id, required XFile file, required AssetType type})
- Asset model
- AssetModel.fromXFile(XFile file)
-
Create asset model from xfile
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromAssetEntities(
List< AssetEntity> entities) → Future<List< AssetModel> > - Create asset model list from asset entity list
-
fromAssetEntity(
AssetEntity entity) → Future< AssetModel> - Create asset model from asset entity