toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (attributes != null) 'attributes': attributes!,
if (flags != null) 'flags': flags!,
if (resources != null) 'resources': resources!,
if (serviceConfigId != null) 'serviceConfigId': serviceConfigId!,
};