also method

T also(
  1. void operationFor(
    1. T self
    )
)

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

Implementation

T also(void Function(T self) operationFor) {
  operationFor(this);
  return this;
}