SelectionModel<D>.fromOther constructor

SelectionModel<D>.fromOther(
  1. SelectionModel<D> other
)

Create a deep copy of the selection model.

Implementation

SelectionModel.fromOther(SelectionModel<D> other) {
  _selectedDatum = List.of(other._selectedDatum);
  _selectedSeries = List.of(other._selectedSeries);
}