toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (access != null) 'access': access!,
      if (condition != null) 'condition': condition!,
      if (memberships != null) 'memberships': memberships!,
      if (relevance != null) 'relevance': relevance!,
      if (role != null) 'role': role!,
      if (rolePermission != null) 'rolePermission': rolePermission!,
      if (rolePermissionRelevance != null)
        'rolePermissionRelevance': rolePermissionRelevance!,
    };