firstNonNull<T> function
T?
firstNonNull<T>([
- T? a,
- T? b,
- T? c,
- T? d,
- T? e,
- T? f,
Implementation
T? firstNonNull<T>([T? a, T? b, T? c, T? d, T? e, T? f]) {
return a ?? b ?? c ?? d ?? e ?? f;
}