isDatumSelected method

bool isDatumSelected(
  1. ImmutableSeries<D> series,
  2. int? index
)

Implementation

bool isDatumSelected(ImmutableSeries<D> series, int? index) {
  final Object? datum = index == null ? null : series.data[index];
  return _selectedDatum.contains(SeriesDatum(series, datum));
}