watchPosition property
num Function(PositionCallback, [PositionErrorCallback?, PositionOptions?])
get
watchPosition
Implementation
_i2.num Function(
_i3.PositionCallback, [
_i3.PositionErrorCallback?,
_i3.PositionOptions?,
]) get watchPosition => (
_i3.PositionCallback p0, [
_i3.PositionErrorCallback? p1,
_i3.PositionOptions? p2,
]) =>
_i4.callMethod(
_i4.getProperty(
this,
'watchPosition',
),
r'call',
[
this,
p0,
p1 ?? _i6.undefined,
p2 ?? _i6.undefined,
],
);
set
watchPosition
(num value(PositionCallback, [PositionErrorCallback?, PositionOptions?]))
Implementation
set watchPosition(
_i2.num Function(
_i3.PositionCallback, [
_i3.PositionErrorCallback?,
_i3.PositionOptions?,
]) value) {
_i4.setProperty(
this,
'watchPosition',
_i4.allowInterop(value),
);
}