toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (consumer != null) 'consumer': consumer!,
if (createTime != null) 'createTime': createTime!,
if (name != null) 'name': name!,
if (service != null) 'service': service!,
if (tenantResources != null) 'tenantResources': tenantResources!,
};