copyWith method
Implementation
MicrosoftTokenResponse copyWith({
String? tokenType,
int? expiresIn,
String? scope,
String? accessToken,
String? refreshToken,
String? userId,
}) {
return MicrosoftTokenResponse(
tokenType: tokenType ?? this.tokenType,
expiresIn: expiresIn ?? this.expiresIn,
scope: scope ?? this.scope,
accessToken: accessToken ?? this.accessToken,
refreshToken: refreshToken ?? this.refreshToken,
userId: userId ?? this.userId,
);
}