@override Object toJson() => { if (x.isNotDefault) 'x': encodeDouble(x), if (y.isNotDefault) 'y': encodeDouble(y), if (z.isNotDefault) 'z': encodeDouble(z), if (w.isNotDefault) 'w': encodeDouble(w), };