@override Map<String, dynamic> toMap() => { "identifier": identifier, "name": name, "trigger": trigger.toMap(), "customFields": customFields, };