copy method
Auth<AuthKeys>
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,
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,
);
}