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