ItemSelection.copy constructor

ItemSelection.copy(
  1. ItemSelection other
)

Creates a copy of the other selection.

Implementation

factory ItemSelection.copy(ItemSelection other) =>
    ItemSelection()..addAll(other);