shapeById method

UDocShape? shapeById(
  1. String id
)

Implementation

UDocShape? shapeById(String id) {
  for (final UDocShape shape in _shapes) {
    if (shape.id == id) return shape;
  }
  return null;
}