shape method
Implementation
ShapeDefinition shape(String type) => shapes.firstWhere(
(s) => s.type == type,
orElse: () => throw ArgumentError('No $type in $id'),
);
ShapeDefinition shape(String type) => shapes.firstWhere(
(s) => s.type == type,
orElse: () => throw ArgumentError('No $type in $id'),
);