also method

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

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

Implementation

T also(void Function(T e) block) {
  block(this);
  return this;
}