toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  if (clientId != null) 'client_id': clientId,
  if (authorizationEndpoint != null) 'authorization_endpoint': authorizationEndpoint,
  if (tokenEndpoint != null) 'token_endpoint': tokenEndpoint,
  if (clientSecret != null) 'client_secret': clientSecret,
  if (noPkce != null) 'no_pkce': noPkce,
  if (scopes != null) 'scopes': scopes,
};