DistanceMatrixRequest constructor

DistanceMatrixRequest({
  1. JSArray<JSAny> destinations,
  2. JSArray<JSAny> origins,
  3. TravelMode travelMode,
  4. bool? avoidFerries,
  5. bool? avoidHighways,
  6. bool? avoidTolls,
  7. DrivingOptions? drivingOptions,
  8. String? language,
  9. String? region,
  10. TransitOptions? transitOptions,
  11. UnitSystem? unitSystem,
})

Implementation

external DistanceMatrixRequest({
  JSArray<JSAny /*string|LatLng|LatLngLiteral|Place*/ > destinations,
  JSArray<JSAny /*string|LatLng|LatLngLiteral|Place*/ > origins,
  TravelMode travelMode,
  bool? avoidFerries,
  bool? avoidHighways,
  bool? avoidTolls,
  DrivingOptions? drivingOptions,
  String? language,
  String? region,
  TransitOptions? transitOptions,
  UnitSystem? unitSystem,
});