ondeviceorientation property
dynamic Function(DeviceOrientationEvent)?
get
ondeviceorientation
Available only in secure contexts.
Implementation
_i2.dynamic Function(_i3.DeviceOrientationEvent)? get ondeviceorientation =>
(_i3.DeviceOrientationEvent p0) => _i4.callMethod(
_i4.getProperty(
this,
'ondeviceorientation',
),
r'call',
[
this,
p0,
],
);
set
ondeviceorientation
(dynamic value(DeviceOrientationEvent)?)
Implementation
set ondeviceorientation(
_i2.dynamic Function(_i3.DeviceOrientationEvent)? value) {
_i4.setProperty(
this,
'ondeviceorientation',
value == null ? _i6.undefined : _i4.allowInterop(value),
);
}