Исключение произошло.RangeError (RangeError (index): недопустимое значение: диапазон допустимых значений пуст: 0) - PullRequest
0 голосов
/ 13 июня 2019

Я что-то не так понимаю, пожалуйста

 //To convert
    final decodedResponse = json.decode(response.body);
    //print(decodedResponse);

    final formattedAddress = decodedResponse['results'](**I KEEP GETTING THE ERROR HERE**)[0]['formatted_address'];
    final coords = decodedResponse['results'][0]['geometry']['location'];
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...