toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (etag != null) 'etag': etag!,
      if (isSuperAdminRole != null) 'isSuperAdminRole': isSuperAdminRole!,
      if (isSystemRole != null) 'isSystemRole': isSystemRole!,
      if (kind != null) 'kind': kind!,
      if (roleDescription != null) 'roleDescription': roleDescription!,
      if (roleId != null) 'roleId': roleId!,
      if (roleName != null) 'roleName': roleName!,
      if (rolePrivileges != null) 'rolePrivileges': rolePrivileges!,
    };