toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final host = this.host;
  final port = this.port;
  return {
    'Host': host,
    'Port': port,
  };
}