requestCacheAssetsThumbnail method
Implementation
Future<void> requestCacheAssetsThumbnail(
List<String> ids,
ThumbnailOption option,
) async {
if (PlatformUtils.isOhos) {
return;
}
if (ids.isEmpty) {
throw ArgumentError('Empty IDs are not allowed');
}
return _channel.invokeMethod(
PMConstants.mRequestCacheAssetsThumb,
<String, dynamic>{
'ids': ids,
'option': option.toMap(),
},
);
}