SelectionModel<D> constructor
SelectionModel<D> ({
- List<
SeriesDatum< ? selectedData,D> > - List<
ImmutableSeries< ? selectedSeries,D> >
Create selection model with the desired selection.
Implementation
SelectionModel({
List<SeriesDatum<D>>? selectedData,
List<ImmutableSeries<D>>? selectedSeries,
}) {
if (selectedData != null) {
_selectedDatum = selectedData;
}
if (selectedSeries != null) {
_selectedSeries = selectedSeries;
}
}