also method

T also(
  1. dynamic block(
    1. T it
    )
)

Calls the specified block with the current value as its argument.

It also returns the current value.

Implementation

T also(dynamic Function(T it) block) {
  block(this);
  return this;
}