watchPosition method

int watchPosition(
  1. PositionCallback successCallback, [
  2. PositionErrorCallback? errorCallback,
  3. PositionOptions? options
])

Implementation

int watchPosition(PositionCallback successCallback,
        [PositionErrorCallback? errorCallback, PositionOptions? options]) =>
    js_util.callMethod(this, 'watchPosition', [
      allowInterop(successCallback),
      errorCallback == null ? null : allowInterop(errorCallback),
      options
    ]);