copyWith method

AddContact copyWith({
  1. Contact? contact,
  2. bool? sharePhoneNumber,
})

Implementation

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