requestCacheAssetsWithIds method

Future<void> requestCacheAssetsWithIds({
  1. required List<String> assetIds,
  2. ThumbnailOption option = _defaultOption,
})

Request caching for assets' ID. The method does not supported on OpenHarmony.

Implementation

Future<void> requestCacheAssetsWithIds({
  required List<String> assetIds,
  ThumbnailOption option = _defaultOption,
}) {
  assert(assetIds.isNotEmpty);
  return plugin.requestCacheAssetsThumbnail(assetIds, option);
}