copy method

Auth<K> copy({
  1. String? id,
  2. int? timeMills,
  3. bool? biometric,
  4. String? email,
  5. bool? loggedIn,
  6. int? loggedInTime,
  7. int? loggedOutTime,
  8. String? name,
  9. String? password,
  10. String? phone,
  11. String? photo,
  12. String? provider,
  13. String? username,
  14. bool? verified,
})

Implementation

Auth<K> copy({
  String? id,
  int? timeMills,
  bool? biometric,
  String? email,
  bool? loggedIn,
  int? loggedInTime,
  int? loggedOutTime,
  String? name,
  String? password,
  String? phone,
  String? photo,
  String? provider,
  String? username,
  bool? verified,
}) {
  return Auth<K>(
    id: id ?? idOrNull,
    timeMills: timeMills ?? timeMillsOrNull,
    biometric: biometric ?? this.biometric,
    email: email ?? this.email,
    loggedIn: loggedIn ?? this.loggedIn,
    loggedInTime: loggedInTime ?? this.loggedInTime,
    loggedOutTime: loggedOutTime ?? this.loggedOutTime,
    name: name ?? this.name,
    password: password ?? this.password,
    phone: phone ?? this.phone,
    photo: photo ?? this.photo,
    provider: provider ?? this.provider,
    username: username ?? this.username,
    verified: verified ?? this.verified,
  );
}