onInsert property
Event triggered when a document is inserted into the collection.
Listeners receive the complete inserted document as a parameter,
including the generated _id
field.
Implementation
final Event<Map<String, Object?>> onInsert = Event<Map<String, Object?>>();