toList method

List<double> toList()

Converts to a List x, y.

Implementation

List<double> toList() {
  return [x, y];
}