copy method
Implementation
Suggestion<T> copy({
T? suggestion,
String? highlightText,
}) {
return Suggestion._(
item: suggestion ?? this.item,
highlightText: highlightText ?? this.highlightText,
);
}
Suggestion<T> copy({
T? suggestion,
String? highlightText,
}) {
return Suggestion._(
item: suggestion ?? this.item,
highlightText: highlightText ?? this.highlightText,
);
}