toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'apiKeyConfig': ?apiKeyConfig?.toJson(),
  'httpBasicAuthConfig': ?httpBasicAuthConfig?.toJson(),
  'googleServiceAccountConfig': ?googleServiceAccountConfig?.toJson(),
  'oauthConfig': ?oauthConfig?.toJson(),
  'oidcConfig': ?oidcConfig?.toJson(),
  if (authType.isNotDefault) 'authType': authType.toJson(),
};