toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (helperTextTemplate != null)
'helperTextTemplate': helperTextTemplate!,
if (principal != null) 'principal': principal!,
if (resource != null) 'resource': resource!,
if (roles != null) 'roles': roles!,
};