copyWith method
ImportedContact
copyWith({
- String? phoneNumber,
- String? firstName,
- String? lastName,
- 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,
);