DeviceOrientationEvent constructor

DeviceOrientationEvent(
  1. String type, [
  2. DeviceOrientationEventInit? eventInitDict
])

Implementation

factory DeviceOrientationEvent(String type,
        [DeviceOrientationEventInit? eventInitDict]) =>
    DeviceOrientationEvent._(type, eventInitDict ?? undefined);