getMapEntry<T1, T2> method

MapEntry<T1, T2> getMapEntry<T1, T2>(
  1. T key,
  2. T1 keyFunc(
    1. JsonRow
    ),
  3. T2 valueFunc(
    1. JsonRow
    )
)

Returns a MapEntry with the key and value computed from the given key using the provided keyFunc and valueFunc. The keyFunc 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

MapEntry<T1, T2> getMapEntry<T1, T2>(T key, T1 Function(JsonRow) keyFunc, T2 Function(JsonRow) valueFunc) => MapEntry(keyFunc(this[key]!), valueFunc(this[key]!));