toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (buildVersion != null) 'buildVersion': buildVersion!,
if (clientFeatures != null) 'clientFeatures': clientFeatures!,
if (cluster != null) 'cluster': cluster!,
if (extensions != null) 'extensions': extensions!,
if (id != null) 'id': id!,
if (listeningAddresses != null)
'listeningAddresses': listeningAddresses!,
if (locality != null) 'locality': locality!,
if (metadata != null) 'metadata': metadata!,
if (userAgentBuildVersion != null)
'userAgentBuildVersion': userAgentBuildVersion!,
if (userAgentName != null) 'userAgentName': userAgentName!,
if (userAgentVersion != null) 'userAgentVersion': userAgentVersion!,
};