CatalogueElement.fromFirestore constructor
Constructor used when the catalogue is downloaded from Firestore. It is used in the CategoryTilesList class, when the Party Master creates a new catalogue.
Implementation
CatalogueElement.fromFirestore(Map snapshot, String id) {
elementId = id;
elementName = snapshot['name'];
elementValue = snapshot['value'];
elementQuantity = 1; // The quantity is 1 as default, but will be modified by the user later.
}