Cannot read entire file to parse Json

Hy guys my code…

    class chiese {
      final String nome;
       final double x;
        final double y;
         final String imaggine;
           final String info;

           chiese({this.nome, this.x, this.y, this.imaggine, this.info});

           factory chiese.fromJson(Map<String, dynamic> json) {
          return new chiese(
          nome: json['nome'] as String,
          x: json['x'] as double,
          y: json['y'] as double,
         imaggine: json['imaggine'] as String,
         info: json['info'] as String,
          );
        }
      }
   Future<String> _loadAStudentAsset() async {
     return await rootBundle.loadString('assets/json/chiese.json');
    }


       Future<chiese> loadStudent() async {
        await wait(5);
         String jsonString = await _loadAStudentAsset();
          final jsonResponse = json.decode(jsonString);

          }


        Future wait(int seconds) {
           return new Future.delayed(Duration(seconds: seconds), () => {});
             }

    class _FirstScreen extends State<FirstScreen> {

       BitmapDescriptor pinLocationIcon;
        chiese _chiese;
            @override
              void initState(){
                  super.initState();
                    loadStudent().then((s) => setState(() {
                     _chiese = s;
                      _loaded = true;
                       _addchiese();
                        }));

                     _addchiese() async {
                        await wait(5);
                         String jsonString = await _loadAStudentAsset();
                            final jsonResponse = json.decode(jsonString);
                               for ( var i=0; i < 8; i++ ){
                                  new chiese.fromJson(jsonResponse[i]);
                                    print(jsonResponse[i]);


                                             int _markerIdCounter= 0;
                                                   final String markerIdVal = 'marker_id_$_markerIdCounter';
                                                  _markerIdCounter++;
                                                final MarkerId markerId = MarkerId(markerIdVal);
                                             final Marker marker = Marker(
                                          position: LatLng(_chiese.y, _chiese.x),
                                         icon: pinLocationIcon,
              /*
             infoWindow:
                  InfoWindow(title: "Informazioni", snippet: _chiese.nome+"\n"+_chiese.info),
             */
  markerId: markerId,
);

setState(() {
  // adding a new marker to map
  markers[markerId] = marker;
               });
         }

          }

But only first row of Json file was readed… any idea??? Json file have 20 rows- like this

       [{"nome": "Chiesa SAN MARTINO","x": 12.887840,"y": 42.2059400,"imaggine":"","info":""},
           {"nome":"Chiesa VICTORIA","x": 12.870703,"y": 42.226254,"imaggine":"","info":""}]

help :slight_smile:

In this way i see only one marker …

    Future<chiese> loadStudent() async {
          await wait(5);
           String jsonString = await _loadAStudentAsset();
              final jsonResponse = json.decode(jsonString);
               return chiese.fromJson(jsonResponse[0]);
        /*
           var newsData = await jsonResponse.getData();

                 for (int i = 0; i < newsData.length; i++) {

                 var title = newsData['nome'];
                     print(title);


                       return chiese.fromJson(jsonResponse[i]);
                         }

                 */
                   }

In function …

              _addchiese()  {
                 print(_chiese.nome);
                  print(_chiese.x);
                     print(_chiese.y);
                      int _markerIdCounter= 0;
                        final String markerIdVal = 'marker_id_$_markerIdCounter';
                          _markerIdCounter++;
                   final MarkerId markerId = MarkerId(markerIdVal);
               final Marker marker = Marker(
  position: LatLng(_chiese.y, _chiese.x),
   icon: pinLocationIcon,
    infoWindow:
     InfoWindow(title: 'Informazioni', snippet: _chiese.nome+"\n"+_chiese.info),
  markerId: markerId,
);

setState(() {
  // adding a new marker to map
  markers[markerId] = marker;
});
 }

i can show only one marker because can’t read another rows of json any idea??? thanks