toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annotations != null) 'annotations': annotations!,
if (fqdn != null) 'fqdn': fqdn!,
if (instance != null) 'instance': instance!,
if (ipAddress != null) 'ipAddress': ipAddress!,
if (port != null) 'port': port!,
};