AssetsService class

Assets service

Constructors

AssetsService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

captureAssetSelection(AssetEntity asset) Future<void>
Select asset and return it to the caller
getAssetsPath({required PickerAssetType allowedTypes}) Future<void>
Get assets path
loadAssetPath(AssetPathEntity assetPath) Future<void>
Load asset path
loadMoreAsset({required AssetPathEntity path}) Future<void>
Load more assets
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onClose() Future<void>
close picker and return selected assets to the caller
onCloseAssetsPicker() Future<void>
close picker and return selected AssetModels to the caller
onOnSelectAsset(AssetEntity asset) Future<void>
Select asset
onTakePhoto() Future<void>
Take photo from basicCameraScreen and return assets to the caller
requestPermissions() Future<bool>
Request permissions
toString() String
A string representation of this object.
inherited

Operators

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