delete method

Future<WriteResult> delete()

Deletes this record. A pass-through, not a state change: the outcome decides whether the screen pops or stays, and either way this provider's own _record/_status describe a record that either no longer exists or was never touched — nothing here needs updating either way.

Implementation

Future<WriteResult> delete() => source.destroy(resource.key, id);