LookupMapRecord<T> typedef

LookupMapRecord<T> = ({Map<String, T> dataMap, Map<String, String> lookupMap})

A record typedef that holds a lookup map and a data map. This is used to create a LookupMap extension type.

The lookupMap is a map that maps a custom id to the original id. The dataMap is the actual data map that holds the data.

Implementation

typedef LookupMapRecord<T> = ({
  Map<String, String> lookupMap,
  Map<String, T> dataMap
});