toJSON method

List<num> toJSON()

Implementation

List<num> toJSON() {
  int orderNo = rotationOrders.indexOf(_order);
  return [_x, _y, _z, orderNo];
}