copyWith method
Copies this OauthAuthentication with the given token
Implementation
OauthAuthentication copyWith({String? userName, OauthToken? token}) =>
OauthAuthentication(userName ?? this.userName, token ?? this.token);
Copies this OauthAuthentication with the given token
OauthAuthentication copyWith({String? userName, OauthToken? token}) =>
OauthAuthentication(userName ?? this.userName, token ?? this.token);