toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (clientFeatures != null) 'clientFeatures': clientFeatures!,
if (cluster != null) 'cluster': cluster!,
if (dynamicParameters != null) 'dynamicParameters': dynamicParameters!,
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!,
};