getMapEntry<T1, T2> method
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]!));