parseShapes method
Implementation
Map<String,Shape> parseShapes(json) {
final Map<String,Shape> shapes = {};
if (json != null) {
for (int i = 0, l = json.length; i < l; i++) {
final shape = Shape.fromJson(json[i]);
shapes[shape.uuid] = shape;
}
}
return shapes;
}