toArray method

dynamic toArray()

Implementation

toArray() {
  return [position.x, position.y, radius];
}