delete method

  1. @override
FutureOr<void> delete(
  1. BoundaryModel entity, {
  2. bool createOpLog = true,
})
override

The delete method deletes an existing entity.

Implementation

@override
FutureOr<void> delete(BoundaryModel entity, {bool createOpLog = true}) async {
  super.delete(entity, createOpLog: createOpLog);
  return retryLocalCallOperation(() async {
    sql
        .delete(
          sql.boundary,
        )
        .go();
  });
}