copyWith method

ImportedContact copyWith({
  1. String? phoneNumber,
  2. String? firstName,
  3. String? lastName,
  4. FormattedText? note,
})

Implementation

ImportedContact copyWith({
  String? phoneNumber,
  String? firstName,
  String? lastName,
  FormattedText? note,
}) => ImportedContact(
  phoneNumber: phoneNumber ?? this.phoneNumber,
  firstName: firstName ?? this.firstName,
  lastName: lastName ?? this.lastName,
  note: note ?? this.note,
);