require method
Implementation
DiagramToolDefinition require(DiagramTool id) =>
_definitions[id] ?? (throw StateError('Tool $id is not registered.'));
DiagramToolDefinition require(DiagramTool id) =>
_definitions[id] ?? (throw StateError('Tool $id is not registered.'));