saveVideoToAlbum static method

Future<bool> saveVideoToAlbum(
  1. File file, {
  2. String? albumName,
})

Implementation

static Future<bool> saveVideoToAlbum(File file, {String? albumName}) async {
  try {
    return await _channel.invokeMethod('saveVideoToAlbum', {
      "path": file.path,
      "albumName": albumName,
    });
  } on PlatformException catch (e) {
    print(e);
    return false;
  }
}