copy method

AndrossyUser copy({
  1. String? uid,
  2. String? name,
  3. String? email,
  4. String? password,
  5. String? phone,
  6. String? photo,
})

Implementation

AndrossyUser copy({
  String? uid,
  String? name,
  String? email,
  String? password,
  String? phone,
  String? photo,
}) {
  return AndrossyUser(
    uid: uid ?? this.uid,
    name: name ?? this.name,
    email: email ?? this.email,
    password: password ?? this.password,
    phone: phone ?? this.phone,
    photo: photo ?? this.photo,
  );
}