toJson method
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(),
};