Trigger.onDelete constructor

Trigger.onDelete({
  1. required OnEvent onEvent,
  2. bool? afterNeed,
  3. String? key,
})

Implementation

factory Trigger.onDelete(
    {required OnEvent onEvent, bool? afterNeed, String? key}) {
  return Trigger._(
      TriggerType.onDelete, onEvent, false, afterNeed ?? false, key);
}