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