copyWith method
Creates a copy with a different selection.
Implementation
@override
OptionalSelection<T> copyWith(T? selection) => OptionalSelection(
options: options,
selected: selection,
);
Creates a copy with a different selection.
@override
OptionalSelection<T> copyWith(T? selection) => OptionalSelection(
options: options,
selected: selection,
);