PhotonApi constructor
PhotonApi({
- String baseUrl = 'https://photon.komoot.io',
Creates an instance of the Photon API Client.
The baseUrl
parameter can be set to a custom URL if needed.
Implementation
PhotonApi({String baseUrl = 'https://photon.komoot.io'})
: _baseUri = Uri.parse(_trimTrailingSlash(baseUrl));