copyWith abstract method

  1. @useResult
TokenPair copyWith({
  1. String? refreshToken,
  2. String? accessToken,
})

Returns a shallow copy of this TokenPair with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
TokenPair copyWith({
  String? refreshToken,
  String? accessToken,
});