resetSelectionsToTableSelection method

UserSelectionState resetSelectionsToTableSelection()

Converts the last selections's to a new TableUserSelectionModel

Implementation

UserSelectionState resetSelectionsToTableSelection() {
  final newList = BuiltList<UserSelectionModel>.from(
    <UserSelectionModel>[
      TableUserSelectionModel.fromSelectionModel(
        primarySelection,
      ),
    ],
  );

  return UserSelectionState._(newList);
}