apply method
T
apply(
- void block(
- T obj
Calls the specified function block
with this
value as its argument
and returns this
value.
Implementation
T apply(void Function(T obj) block) {
block(this);
return this;
}