toUpperCase method
Drops nulls, then uppercases each survivor (invariant culture).
See ListStringExtensions.toUpperCase for casing semantics. Does not mutate the receiver.
Example:
<String?>['Ab', null, 'cd'].toUpperCase(); // ['AB', 'CD']
Audited: 2026-06-12 11:26 EDT
Implementation
@useResult
List<String>? toUpperCase() => nonNulls.toList().toUpperCase();