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(); }