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