toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() =>
    {
      'parent': this.parentIds,
      'id': this.id,
      'name': this.name,
      'duplicable' : this.duplicable,
      'event': this.event.toJson(),
      'action': this.action.toJson()
    };