copyWith abstract method

  1. @useResult
AuthenticationResponse copyWith({
  1. bool? success,
  2. String? key,
  3. int? keyId,
  4. UserInfo? userInfo,
  5. AuthenticationFailReason? failReason,
})

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

Implementation

@_i1.useResult
AuthenticationResponse copyWith({
  bool? success,
  String? key,
  int? keyId,
  _i2.UserInfo? userInfo,
  _i3.AuthenticationFailReason? failReason,
});