let<R> method

R let<R>(
  1. R block(
    1. T e
    )
)

Calls the specified function block with this value as its argument and returns its result.

Implementation

R let<R>(R Function(T e) block) => block(this);