Function that converts QuerySnapshot to a list of data model as required
QuerySnapshot
final List Function(QuerySnapshot) dataListFromSnapshot;