requestCacheAssets method
Future<void>
requestCacheAssets({
- required List<
AssetEntity> assets, - ThumbnailOption option = _defaultOption,
Request caching for assets.
Implementation
Future<void> requestCacheAssets({
required List<AssetEntity> assets,
ThumbnailOption option = _defaultOption,
}) {
assert(assets.isNotEmpty);
return plugin.requestCacheAssetsThumbnail(
assets.map((AssetEntity e) => e.id).toList(),
option,
);
}