getCurrentPosition method

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

Implementation

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