toJson method

Map<String, dynamic> toJson()

Implementation

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