copyWith method
Refreshes this token with the new accessToken and expiresIn.
Implementation
OauthToken copyWith(String accessToken, int expiresIn) => OauthToken(
accessToken: accessToken,
expiresIn: expiresIn,
refreshToken: refreshToken,
scope: scope,
tokenType: tokenType,
provider: provider,
created: DateTime.now().toUtc(),
);