iosRemoveInAlbum method

Future<bool> iosRemoveInAlbum(
  1. List<AssetEntity> entities,
  2. AssetPathEntity path
)
inherited

Implementation

Future<bool> iosRemoveInAlbum(
  List<AssetEntity> entities,
  AssetPathEntity path,
) async {
  final Map<dynamic, dynamic>? result = await _channel.invokeMethod(
    PMConstants.mRemoveInAlbum,
    <dynamic, dynamic>{
      'assetId': entities.map((AssetEntity e) => e.id).toList(),
      'pathId': path.id,
    },
  );
  return result?['msg'] == null;
}