getPair<T1, T2> method
- T key,
- (T1, T2) func()
Returns a pair of values computed from the given key using the provided func and valueFunc.
The func is a function that takes a JsonRow and returns a value of type T1.
The valueFunc is a function that takes a JsonRow and returns a value of type T2.
Implementation
(T1, T2) getPair<T1, T2>(T key, (T1, T2) Function(JsonRow) func) => func(this[key]!);