Map<String, dynamic> toMap() { return <String, dynamic>{ 'host': host, 'instance': instance, 'service': service, 'version': version, }; }