on null value?
@RestApi(baseUrl: weatherApiBaseUrl)
abstract class WeatherApiService {
factory WeatherApiService(Dio dio) = _WeatherApiService;
@GET('/current.json')
Future<HttpResponse<WeatherModel>> getWeatherFromLocation({
@Query('key') String key,
@Query('q') String q,
@Query('aqi') String aqi,
@Query('lang') String lang,
});
}
Именно на этапе генерации?
[SEVERE] retrofit_generator on lib/src/core/data/data_sources/remote/weather_api_service.dart (cached): Null check operator used on a null value [SEVERE] Failed after 99ms
Обсуждают сегодня