toJSON method

List<num> toJSON()

Implementation

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