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