copyWith method
Implementation
DropdownItem<T> copyWith({
T? value,
bool? selected,
}) {
return DropdownItem(
value: value ?? this.value,
selected: selected ?? this.selected,
);
}
DropdownItem<T> copyWith({
T? value,
bool? selected,
}) {
return DropdownItem(
value: value ?? this.value,
selected: selected ?? this.selected,
);
}