getMap method

Map<String, BaseModel> getMap(
  1. String database
)

Gets the "Storage" map for the given database

Implementation

Map<String, BaseModel> getMap(String database) {
  if (fakeDatabaseMap[database] == null) {
    fakeDatabaseMap[database] = {};
  }

  return fakeDatabaseMap[database]!;
}