DeviceOrientationEventInit constructor

DeviceOrientationEventInit({
  1. double? alpha,
  2. double? beta,
  3. double? gamma,
  4. bool? absolute,
})

Implementation

factory DeviceOrientationEventInit(
        {double? alpha, double? beta, double? gamma, bool? absolute}) =>
    DeviceOrientationEventInit._(
        alpha: alpha ?? undefined,
        beta: beta ?? undefined,
        gamma: gamma ?? undefined,
        absolute: absolute ?? false);