List<String> lowerCaseSegments(List<String> segments) { return segments.map((segment) => segment.toLowerCase()).toList(); }