toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (resourcePermission != null)
'resourcePermission': resourcePermission!,
if (resourceType != null) 'resourceType': resourceType!,
if (selector != null) 'selector': selector!,
};