catalogueMatrixMapper method

Map<String, Map<String, Map<String, dynamic>>> catalogueMatrixMapper ()

Creates a matrix of Maps representing each CatalogueElement

Implementation

Map<String, Map<String, Map<String, dynamic>>> catalogueMatrixMapper() {
  Map<String, Map<String, Map<String, dynamic>>> catalogueMatrixMap = {};
  for (int i = 0; i < catalogue.length; ++i) {
    catalogueMatrixMap[i.toString()] = _catalogueListMapper(catalogue[i]);
  }
  return catalogueMatrixMap;
}