copyWith method
Implementation
AuthUser copyWith({
String? uid,
String? email,
String? displayName,
String? photoURL,
String? idToken,
bool? isAnonymous,
bool? emailVerified,
}) {
return AuthUser(
uid: uid ?? this.uid,
email: email ?? this.email,
displayName: displayName ?? this.displayName,
photoURL: photoURL ?? this.photoURL,
idToken: idToken ?? this.idToken,
isAnonymous: isAnonymous ?? this.isAnonymous,
emailVerified: emailVerified ?? this.emailVerified,
);
}