getElevationAlongPath method

Future<PathElevationResponse> getElevationAlongPath(
  1. PathElevationRequest? request, [
  2. void callback(
    1. List<ElevationResult?>?,
    2. ElevationStatus?
    )?
])

Implementation

Future<PathElevationResponse> getElevationAlongPath(
  PathElevationRequest? request, [
  void Function(List<ElevationResult?>?, ElevationStatus?)? callback,
]) =>
    promiseToFuture(callMethod(this, 'getElevationAlongPath', [
      request,
      callback == null
          ? null
          : allowInterop((p0, p1) => callback(
              p0?.cast<ElevationResult?>(), ElevationStatus$cast(p1)))
    ]));