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