OlaRoutingService constructor
OlaRoutingService({
- required String apiKey,
- OlaMapsHttp? httpClient,
Creates a routing client. Pass httpClient to share language defaults.
Implementation
OlaRoutingService({required this.apiKey, OlaMapsHttp? httpClient})
: _http = httpClient ?? OlaMapsHttp(apiKey: apiKey);