onResult method

Result<T> onResult(
  1. dynamic f(
    1. Result<T>
    )
)

Calls f(this) with side effect and return this as is.

Implementation

Result<T> onResult(Function(Result<T>) f) {
  f(this);
  return this;
}