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 (oauth2ClientCredentialsConfig != null)
    'oauth2ClientCredentialsConfig': oauth2ClientCredentialsConfig!,
  if (userPasswordConfig != null) 'userPasswordConfig': userPasswordConfig!,
};