UserManagedSelectionModel<D> class
Container for the user managed selection model.
This container is needed because the selection model generated by selection events is a SelectionModel, while any user defined selection has to be specified by passing in selectedSeriesConfig and selectedDataConfig. The configuration is converted to a selection model after the series data has been processed.
Constructors
-
UserManagedSelectionModel({SelectionModel<
D> ? model}) - Creates a UserManagedSelectionModel that holds SelectionModel.
-
UserManagedSelectionModel.fromConfig({List<
String> ? selectedSeriesConfig, List<SeriesDatumConfig< ? selectedDataConfig})D> > - Creates a UserManagedSelectionModel with configuration that is converted to a SelectionModel when getModel provides a processed series list.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedDataConfig
→ List<
SeriesDatumConfig< ?D> > -
final
-
selectedSeriesConfig
→ List<
String> ? -
final
Methods
-
getModel(
List< ImmutableSeries< seriesList) → SelectionModel<D> >D> -
Gets the selection model. If the model is null, create one from
configuration and the processed
seriesList
passed in. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited