SelectionState<T> constructor
State for managing selection of items. Provides functionality for tracking selected and staging items.
Implementation
SelectionState({
Set<T>? selected,
Set<T>? staging,
}) : selected = UnmodifiableSetView(selected ?? {}),
staging = UnmodifiableSetView(staging ?? {});