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