require method
Implementation
DiagramPortShapeDefinition require(PortShape shape) =>
definitions[shape] ??
(throw StateError('Unregistered port shape: ${shape.name}'));
DiagramPortShapeDefinition require(PortShape shape) =>
definitions[shape] ??
(throw StateError('Unregistered port shape: ${shape.name}'));