allYs function

List<int> allYs(
  1. Sign sign
)

Implementation

List<int> allYs(Sign sign) {
  // Mapping each symbol to its y-coordinate and converting it to a list
  return sign.symbols.map((s) => s.position.item2).toList();
}