toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

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