Constructs a new instance with the given x, y, and z values.
See MagnetometerEvent for more information.
MagnetometerEvent(this.x, this.y, this.z);