copyWith method
Implementation
User copyWith({
String? uid,
String? extId,
String? name,
String? email,
String? phone,
Props? props,
}) {
return User(
uid: uid ?? _uid,
extId: extId ?? _extId,
name: name ?? _name,
email: email ?? _email,
phone: phone ?? _phone,
props: props ?? _props,
);
}