route method
Implementation
Future<DirectionsResult> route(
DirectionsRequest? request, [
void Function(DirectionsResult?, DirectionsStatus?)? callback,
]) =>
promiseToFuture(callMethod(this, 'route', [
request,
callback == null
? null
: allowInterop((p0, p1) => callback(p0, DirectionsStatus$cast(p1)))
]));