copyWith method
Implementation
OAuthTokens copyWith({
String? accessToken,
String? refreshToken,
int? expiresAt,
List<String>? scopes,
String? subscriptionType,
String? rateLimitTier,
}) {
return OAuthTokens(
accessToken: accessToken ?? this.accessToken,
refreshToken: refreshToken ?? this.refreshToken,
expiresAt: expiresAt ?? this.expiresAt,
scopes: scopes ?? this.scopes,
subscriptionType: subscriptionType ?? this.subscriptionType,
rateLimitTier: rateLimitTier ?? this.rateLimitTier,
);
}