toJson method

Map<String, dynamic> toJson()

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!,
    };