letNullable<R> method
R?
letNullable<R>(
- R? block(
- T? it
Back-compat variant whose block accepts a nullable receiver.
Implementation
R? letNullable<R>(R? Function(T? it) block) =>
this == null ? null : block(this);