toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'domain': domain,
      'topic': topic,
      'type': type.value,
      'target_operator_id': targetOperatorId,
      'location': location?.toJson(),
    }..addAll(dynamicAttrs);