copyWith method
Implementation
Credential copyWith({
Object? credential,
String? displayName,
String? email,
String? phoneNumber,
String? photoURL,
String? smsCode,
String? uid,
String? verificationId,
}) {
return Credential(
credential: credential ?? this.credential,
displayName: displayName ?? this.displayName,
email: email ?? this.email,
phoneNumber: phoneNumber ?? this.phoneNumber,
photoURL: photoURL ?? this.photoURL,
smsCode: smsCode ?? this.smsCode,
uid: uid ?? this.uid,
verificationId: verificationId ?? this.verificationId,
);
}