saveThumbnailToFile method
Future<bool>
saveThumbnailToFile({
- required String uri,
- required int width,
- required int height,
- required String destPath,
- String? format,
- int? quality,
override
Implementation
@override
Future<bool> saveThumbnailToFile({
required String uri,
required int width,
required int height,
required String destPath,
String? format,
int? quality,
}) async {
final res = await methodChannel.invokeMethod<bool>(
'saveThumbnailToFile',
{
'uri': uri.toString(),
'width': width,
'height': height,
'destPath': destPath,
'format': format,
'quality': quality,
},
);
return res ?? false;
}