copyWith method
Implementation
AddContact copyWith({
Contact? contact,
bool? sharePhoneNumber,
}) => AddContact(
contact: contact ?? this.contact,
sharePhoneNumber: sharePhoneNumber ?? this.sharePhoneNumber,
);
AddContact copyWith({
Contact? contact,
bool? sharePhoneNumber,
}) => AddContact(
contact: contact ?? this.contact,
sharePhoneNumber: sharePhoneNumber ?? this.sharePhoneNumber,
);