toMap method

Map<String, double> toMap()

Implementation

Map<String,double> toMap() {
  return {
    'x': _x,
    'y': _y,
    'z': _z,
    'w':_w
  };
}