copyWith method

UserDetailsPersonal copyWith({
  1. String? phone,
  2. String? im,
  3. String? website,
  4. String? email,
})

Implementation

UserDetailsPersonal copyWith(
    {String? phone, String? im, String? website, String? email}) {
  return UserDetailsPersonal(
    phone: phone ?? this.phone,
    im: im ?? this.im,
    website: website ?? this.website,
    email: email ?? this.email,
  );
}