toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (authToken != null) 'authToken': authToken!,
if (credentialType != null) 'credentialType': credentialType!,
if (jwt != null) 'jwt': jwt!,
if (oauth2AuthorizationCode != null)
'oauth2AuthorizationCode': oauth2AuthorizationCode!,
if (oauth2ClientCredentials != null)
'oauth2ClientCredentials': oauth2ClientCredentials!,
if (oauth2ResourceOwnerCredentials != null)
'oauth2ResourceOwnerCredentials': oauth2ResourceOwnerCredentials!,
if (oidcToken != null) 'oidcToken': oidcToken!,
if (serviceAccountCredentials != null)
'serviceAccountCredentials': serviceAccountCredentials!,
if (usernameAndPassword != null)
'usernameAndPassword': usernameAndPassword!,
};