getX method

  1. @override
double getX(
  1. int index
)
override

Returns the x component of the item at the given index.

Implementation

@override
double getX(int index) {
  return data!.array[index * data!.stride + offset].toDouble();
}