getSelectionModel method

MutableSelectionModel<D> getSelectionModel(
  1. SelectionModelType type
)

Returns MutableSelectionModel for the given type. Lazy creates one upon first request.

Implementation

MutableSelectionModel<D> getSelectionModel(SelectionModelType type) =>
    _selectionModels.putIfAbsent(type, MutableSelectionModel<D>.new);