beforeModify method

void beforeModify(
  1. HookedServiceEventListener<Id, Data, T> listener
)

Runs the listener before create, modify and update.

Implementation

void beforeModify(HookedServiceEventListener<Id, Data, T> listener) {
  beforeCreated.listen(listener);
  beforeModified.listen(listener);
  beforeUpdated.listen(listener);
}