copyWith method

User copyWith({
  1. String? uid,
  2. String? extId,
  3. String? name,
  4. String? email,
  5. String? phone,
  6. Props? props,
})

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,
  );
}