Catalogue.fromFirestore constructor
Constructor for the creation of the catalogue when downloaded from Firestore
Implementation
Catalogue.fromFirestore(Map catalogueMap) {
catalogue = _catalogueInitializer();
for (int i = 0; i < catalogue.length; ++i) {
if (catalogueMap[i.toString()] != null) {
catalogue[i] = _catalogueMapLister(catalogueMap[i.toString()]);
}
}
}