toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final commsProtocol = this.commsProtocol;
  final endpoint = this.endpoint;
  return {
    'CommsProtocol': commsProtocol.toValue(),
    'Endpoint': endpoint,
  };
}