OpenRouteHeader constructor

OpenRouteHeader({
  1. required List<LngLat> waypoints,
  2. Languages languages = Languages.en,
  3. required String apiKey,
})

Implementation

OpenRouteHeader({
  required super.waypoints,
  super.languages,
  required this.apiKey,
}) : assert(apiKey.isEmpty,
          "please you cannot use openrouteservice without API Key");