OlaRoutingService constructor

OlaRoutingService({
  1. required String apiKey,
  2. OlaMapsHttp? httpClient,
})

Implementation

OlaRoutingService({required this.apiKey, OlaMapsHttp? httpClient})
    : _http = httpClient ?? OlaMapsHttp(apiKey: apiKey);