delete method
Delete photos
ids IDs request of the deleting photos
return number of deleted photos
Implementation
@override
Future<int> delete(List<String> ids) {
if (ids.isEmpty) {
return Future.value(0);
}
return _invokeMethod<int>(
method: Functions.deletePhotos,
arguments: {Arguments.ids: ids},
postProcess: (value) => value as int,
);
}