copyWith method

AuthInfo copyWith({
  1. String? username,
  2. String? password,
  3. String? authString,
})

Implementation

AuthInfo copyWith({String? username, String? password, String? authString}) {
  return AuthInfo(
      username: username ?? this.username,
      password: password ?? this.password,
      authString: authString ?? this.authString);
}