copyWith method

AddContact copyWith({
  1. int? userId,
  2. ImportedContact? contact,
  3. bool? sharePhoneNumber,
})

Implementation

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