toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (apiKeyConfig != null) 'apiKeyConfig': apiKeyConfig!,
  if (authType != null) 'authType': authType!,
  if (googleServiceAccountConfig != null)
    'googleServiceAccountConfig': googleServiceAccountConfig!,
  if (httpBasicAuthConfig != null)
    'httpBasicAuthConfig': httpBasicAuthConfig!,
  if (oauthConfig != null) 'oauthConfig': oauthConfig!,
  if (oidcConfig != null) 'oidcConfig': oidcConfig!,
};