copy method

Creates a copy of this controller.

Implementation

SelectionController copy() {
  return SelectionController(
    multiSelect: multiSelect,
    initialSelection: Set.from(_selected),
  );
}