toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clientId != null) 'clientId': clientId!,
      if (clientSecret != null) 'clientSecret': clientSecret!,
      if (encryptedClientSecret != null)
        'encryptedClientSecret': encryptedClientSecret!,
      if (groupFormat != null) 'groupFormat': groupFormat!,
      if (kubectlRedirectUri != null)
        'kubectlRedirectUri': kubectlRedirectUri!,
      if (tenant != null) 'tenant': tenant!,
      if (userClaim != null) 'userClaim': userClaim!,
    };