let<R> method

R? let<R>(
  1. R action(
    1. T
    )
)

Implementation

R? let<R>(R Function(T) action) {
  final value = this;

  return value != null ? action(value) : null;
}