select method
Reuse selected definitions in another library without copying their implementation.
Implementation
ShapeLibrary select(
Iterable<String> types, {
required String id,
required String name,
}) => ShapeLibrary(id: id, name: name, shapes: types.map(shape));