onValue method
Result<V>
onValue(
- dynamic f(
- V
Implementation
$async.Result<V> onValue(Function(V) f) => fold((v) {
f(asValue!.value);
return this;
}, (_) => this);
$async.Result<V> onValue(Function(V) f) => fold((v) {
f(asValue!.value);
return this;
}, (_) => this);