toArray method

List<double> toArray()

Returns the components as a new double list.

Order: [x, y]

Implementation

List<double> toArray() => [x, y];