flatMap<U> method
- @useResult
- U? f(
- T
Applies a transformation f
that may return null to the value
if it is not null
.
Implementation
@useResult
U? flatMap<U>(U? Function(T) f) => this != null ? f(this as T) : null;
Applies a transformation f
that may return null to the value
if it is not null
.
@useResult
U? flatMap<U>(U? Function(T) f) => this != null ? f(this as T) : null;