copyWith method
Implementation
OAuthClientConfig copyWith({
String? clientId,
String? clientSecret,
String? authorizationEndpoint,
String? tokenEndpoint,
bool? noPkce,
List<String>? scopes,
}) {
return OAuthClientConfig(
clientId: clientId ?? this.clientId,
clientSecret: clientSecret ?? this.clientSecret,
authorizationEndpoint: authorizationEndpoint ?? this.authorizationEndpoint,
tokenEndpoint: tokenEndpoint ?? this.tokenEndpoint,
noPkce: noPkce ?? this.noPkce,
scopes: scopes ?? this.scopes,
);
}