require method
Implementation
ShapeDefinition require(String type) {
final definition = _definitions[type];
if (definition == null) throw StateError('No shape definition for $type.');
return definition;
}
ShapeDefinition require(String type) {
final definition = _definitions[type];
if (definition == null) throw StateError('No shape definition for $type.');
return definition;
}