UserManagedSelectionModel<D>.fromConfig constructor

UserManagedSelectionModel<D>.fromConfig({
  1. List<String>? selectedSeriesConfig,
  2. List<SeriesDatumConfig<D>>? selectedDataConfig,
})

Creates a UserManagedSelectionModel with configuration that is converted to a SelectionModel when getModel provides a processed series list.

Implementation

UserManagedSelectionModel.fromConfig(
    {List<String>? selectedSeriesConfig,
    List<common.SeriesDatumConfig<D>>? selectedDataConfig})
    : this.selectedSeriesConfig = selectedSeriesConfig,
      this.selectedDataConfig = selectedDataConfig;