Map<String, dynamic> toMap() { return <String, dynamic>{ 'hostname': hostname, 'ipPreference': ipPreference, 'responseType': responseType, }; }