I want to return a Future List from Firebase Database snapshot and this is my code but I cant get it work properly:

```
Future<List<CocheDetailItem>> getCoches(ids) async {
  List<CocheDetailItem> coches = [];
  final dbRef = FirebaseDatabase.instance.reference().child('17082019');
  for (var i = 0; i < ids.length; i++) {
    var id = ids[i];
    dbRef.child(id).once().then((DataSnapshot snapshot) {
      if (snapshot.value != null) {
        Map<dynamic, dynamic> jsres = snapshot.value;
        CocheDetailItem coche = CocheDetailItem.fromJson(jsres);
        coches.add(coche);
      }
    });
    print('here is i ${ids[i]} ');
  }
  return coches;

```

}

The return I get is empty Area. Can anyone help me with this, please?