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