toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (namespace != null) 'namespace': namespace!,
if (service != null) 'service': service!,
if (serviceDirectoryRegion != null)
'serviceDirectoryRegion': serviceDirectoryRegion!,
};