iosDeleteCollection method

Future<bool> iosDeleteCollection(
  1. AssetPathEntity path
)
inherited

Implementation

Future<bool> iosDeleteCollection(AssetPathEntity path) async {
  assert(Platform.isIOS || Platform.isMacOS);
  final Map result = await _channel.invokeMethod(
    PMConstants.mDeleteAlbum,
    <String, dynamic>{
      'id': path.id,
      'type': path.albumType,
    },
  );
  return result['errorMsg'] == null;
}