getMultiselectController method

PlexWidgetController<List<T>?> getMultiselectController()

Implementation

PlexWidgetController<List<T>?> getMultiselectController() {
  if (_multiSelectionController == null || _multiSelectionController!.isDisposed) {
    _multiSelectionController = (multiSelectionController ?? PlexWidgetController<List<T>?>());
    _multiSelectionController!.setValue(multiInitialSelection?.cast<T>());
  }
  return _multiSelectionController!;
}