DeviceMotionEventInit constructor
DeviceMotionEventInit({
- DeviceMotionEventAccelerationInit? acceleration,
- DeviceMotionEventAccelerationInit? accelerationIncludingGravity,
- num? interval,
- DeviceMotionEventRotationRateInit? rotationRate,
- bool? bubbles,
- bool? cancelable,
- bool? composed,
Implementation
factory DeviceMotionEventInit({
_i3.DeviceMotionEventAccelerationInit? acceleration,
_i3.DeviceMotionEventAccelerationInit? accelerationIncludingGravity,
_i2.num? interval,
_i3.DeviceMotionEventRotationRateInit? rotationRate,
_i2.bool? bubbles,
_i2.bool? cancelable,
_i2.bool? composed,
}) =>
DeviceMotionEventInit._(
acceleration: acceleration ?? _i6.undefined,
accelerationIncludingGravity:
accelerationIncludingGravity ?? _i6.undefined,
interval: interval,
rotationRate: rotationRate ?? _i6.undefined,
bubbles: bubbles,
cancelable: cancelable,
composed: composed,
);