Map<String, dynamic> toJson() { final appName = this.appName; final port = this.port; final protocol = this.protocol; return { 'AppName': appName, 'Port': port, 'Protocol': protocol, }; }