onDelete property
Event triggered when a document is deleted from the collection.
Listeners receive the document that was deleted as a parameter, allowing access to the data before it was removed.
Implementation
final Event<Map<String, Object?>> onDelete = Event<Map<String, Object?>>();