copyWith method
Implementation
UserDetails copyWith(
{UserDetailsBusiness? business, UserDetailsPersonal? personal}) {
return UserDetails(
business: business ?? this.business,
personal: personal ?? this.personal,
);
}
UserDetails copyWith(
{UserDetailsBusiness? business, UserDetailsPersonal? personal}) {
return UserDetails(
business: business ?? this.business,
personal: personal ?? this.personal,
);
}