GoogleGeocodingApi constructor Null safety
Implementation
GoogleGeocodingApi(String apiKey, {bool isLogged = false})
: _dio = Dio()
..interceptors.addAll([
ApiKeyInterceptor(apiKey),
if (isLogged)
LogInterceptor(
responseBody: true,
requestBody: true,
requestHeader: true,
responseHeader: false,
),
]);