Valuable<Output>.computed constructor
Valuable<Output>.computed (
- ValuableParentWatcher<
Output> computation, { - bool evaluateWithContext = false,
Factory Valuable.computed to build a Valuable that calculate its own value through a function.
Implementation
factory Valuable.computed(ValuableParentWatcher<Output> computation,
{bool evaluateWithContext = false}) {
return _Valuable<Output>.computed(computation,
evaluateWithContext: evaluateWithContext);
}