UserManagedSelectionModel<D> constructor

UserManagedSelectionModel<D>({
  1. SelectionModel<D>? model,
})

Creates a UserManagedSelectionModel that holds SelectionModel.

selectedSeriesConfig and selectedDataConfig is set to null because the _model is returned when getModel is called.

Implementation

UserManagedSelectionModel({common.SelectionModel<D>? model})
    : _model = model ?? common.SelectionModel(),
      selectedSeriesConfig = null,
      selectedDataConfig = null;