shapeById method

ResolvedShape? shapeById(
  1. String id
)

Implementation

ResolvedShape? shapeById(String id) => switch (elementById(id)) {
  final ResolvedShape shape => shape,
  _ => null,
};