remove method

  1. @override
FutureOr<void> remove(
  1. String taskId
)
override

Implementation

@override
FutureOr<void> remove(String taskId) async {
  try {
    await box.delete(taskId);
  } on Exception catch (e) {
    debugPrint("BackgroundTaskCache remove exception $e");
    rethrow;
  } on Error catch (e) {
    debugPrint("BackgroundTaskCache remove error $e");
    rethrow;
  }
}