Calls f(this) with side effect and return this as is.
Future<Result<T>> onResult(Function(Result<T>) f) { return then((resultT) { f(resultT); return this; }); }