deletePhoto method

  1. @override
Future<bool> deletePhoto(
  1. ArticlePhoto data, {
  2. bool isLocalFileToBeDeleted = false,
  3. bool isInternetAvailable = true,
})
inherited

handles both sides (memory service and mobx obs photos) + server

Implementation

@override
Future<bool> deletePhoto(ArticlePhoto data, {bool isLocalFileToBeDeleted = false, bool isInternetAvailable=true}) {
  return _$deletePhotoAsyncAction.run(() => super.deletePhoto(data, isLocalFileToBeDeleted: isLocalFileToBeDeleted, isInternetAvailable:isInternetAvailable));
}