getPair<T1, T2> method

(T1, T2) getPair<T1, T2>(
  1. T key,
  2. (T1, T2) func(
    1. JsonRow
    )
)

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]!);