also method

T also(
  1. void block(
    1. T
    )
)

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

Implementation

T also(void Function(T) block) {
  block(this);

  return this;
}