copy method

Auth<AuthKeys> copy({
  1. String? id,
  2. int? timeMills,
  3. String? accessToken,
  4. int? age,
  5. bool? anonymous,
  6. bool? biometric,
  7. String? email,
  8. Map<String, dynamic>? extra,
  9. String? gender,
  10. String? idToken,
  11. bool? loggedIn,
  12. int? loggedInTime,
  13. int? loggedOutTime,
  14. String? name,
  15. int? online,
  16. String? password,
  17. String? path,
  18. String? phone,
  19. String? photo,
  20. String? platform,
  21. Provider? provider,
  22. double? random,
  23. String? token,
  24. String? username,
  25. bool? verified,
})

Implementation

Auth copy({
  String? id,
  int? timeMills,
  String? accessToken,
  int? age,
  bool? anonymous,
  bool? biometric,
  String? email,
  Map<String, dynamic>? extra,
  String? gender,
  String? idToken,
  bool? loggedIn,
  int? loggedInTime,
  int? loggedOutTime,
  String? name,
  int? online,
  String? password,
  String? path,
  String? phone,
  String? photo,
  String? platform,
  Provider? provider,
  double? random,
  String? token,
  String? username,
  bool? verified,
}) {
  return Auth(
    id: id ?? idOrNull,
    timeMills: timeMills ?? timeMillsOrNull,
    accessToken: accessToken ?? this.accessToken,
    age: age ?? this.age,
    anonymous: anonymous ?? this.anonymous,
    biometric: biometric ?? this.biometric,
    email: email ?? this.email,
    extra: extra ?? this.extra,
    gender: gender ?? this.gender,
    idToken: idToken ?? this.idToken,
    loggedIn: loggedIn ?? this.loggedIn,
    loggedInTime: loggedInTime ?? this.loggedInTime,
    loggedOutTime: loggedOutTime ?? this.loggedOutTime,
    name: name ?? this.name,
    online: online ?? this.online,
    password: password ?? this.password,
    path: path ?? this.path,
    phone: phone ?? this.phone,
    photo: photo ?? this.photo,
    platform: platform ?? this.platform,
    provider: provider ?? this.provider,
    random: random ?? this.random,
    token: token ?? this.token,
    username: username ?? this.username,
    verified: verified ?? this.verified,
  );
}