RecordComputeExtension2<T1, T2> extension
Extends a record with a method for creating a ComputeCell by applying a function on the argument cells given in the record.
Methods
-
apply<
U> (U fn(T1, T2), {dynamic key}) → ValueCell< U> -
Create a ComputeCell with compute function
fn
with the cells in this as the argument list. -
mutableApply<
U> (U fn(T1, T2), void reverse(U), {dynamic key, bool changesOnly = false}) → MutableCell< U> - Create a MutableComputeCell with given compute and reverse compute functions, and the cells in this as the argument list.