stormKingSchematicsCount property
get storm king schematics count
Implementation
Map<String, int> get stormKingSchematicsCount {
Map<String, int> count = {};
for (final s in stormKingSchematics) {
if (count.containsKey(s.templateId)) {
count[s.templateId] = count[s.templateId]! + 1;
} else {
count[s.templateId] = 1;
}
}
return count;
}