saveFile static method
Save the PNG,JPG,JPEG image or video located at file
to the local device media gallery.
Implementation
static Future saveFile(String file,
{String? name, bool isReturnPathOfIOS = false}) async {
final result = await _channel.invokeMethod(
'saveFileToGallery', <String, dynamic>{
'file': file,
'name': name,
'isReturnPathOfIOS': isReturnPathOfIOS
});
return result;
}