toLowerCase method
Returns a new list with every element lowercased (invariant culture).
Casing is locale-independent: Turkish 'I' lowercases to 'i', never the
dotless 'ı'. Surrogate pairs and emoji round-trip unchanged. Does not
mutate the receiver. The return is nullable for symmetry with
removeTrimmedEmpty, but a non-empty list always yields a non-empty list.
Example:
['Ab', 'CD'].toLowerCase(); // ['ab', 'cd']
Audited: 2026-06-12 11:26 EDT
Implementation
@useResult
List<String>? toLowerCase() => map((String e) => e.toLowerCase()).toList();