let<R> method
R
let<R>(
- R block(
- T
Calls the specified function block
with this
value as its argument and returns its result.
Implementation
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
R let<R>(R Function(T) block) {
return block(this as T);
}