parse<Model extends BaseModel> method
Implementation
List<Model> parse<Model extends BaseModel>(QuerySnapshot querySnapshot) {
var list = querySnapshot.docs.map((documentSnapshot) {
var data = generate<Model>(
documentSnapshot.data() as Map<String, dynamic>,
documentSnapshot.id) as Model;
return data;
}).toList();
return list;
}