DeviceMotionEventInit constructor Null safety

DeviceMotionEventInit(
  1. {DeviceMotionEventAccelerationInit acceleration,
  2. DeviceMotionEventAccelerationInit accelerationIncludingGravity,
  3. DeviceMotionEventRotationRateInit rotationRate,
  4. double interval = 0}
)

Implementation

external factory DeviceMotionEventInit(
    {DeviceMotionEventAccelerationInit acceleration,
    DeviceMotionEventAccelerationInit accelerationIncludingGravity,
    DeviceMotionEventRotationRateInit rotationRate,
    double interval = 0});