geocode method

Future<GeocoderResponse> geocode(
  1. GeocoderRequest? request, [
  2. void callback(
    1. List<GeocoderResult?>?,
    2. GeocoderStatus?
    )?
])

Implementation

Future<GeocoderResponse> geocode(
  GeocoderRequest? request, [
  void Function(List<GeocoderResult?>?, GeocoderStatus?)? callback,
]) =>
    promiseToFuture(callMethod(this, 'geocode', [
      request,
      callback == null
          ? null
          : allowInterop((p0, p1) =>
              callback(p0?.cast<GeocoderResult?>(), GeocoderStatus$cast(p1)))
    ]));