index property

int? get index

Returns null if-and-only if datum is null.

Implementation

int? get index {
  if (datum == null) return null;
  _index ??= series.data.indexOf(datum);
  return _index;
}