toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (endpointFilter != null) 'endpointFilter': endpointFilter!,
if (hostname != null) 'hostname': hostname!,
if (serverCertificates != null)
'serverCertificates': serverCertificates!,
if (serviceDirectoryService != null)
'serviceDirectoryService': serviceDirectoryService!,
};