evaluateMap method

void evaluateMap(
  1. Map map,
  2. Map? context
)

Updates the content of a Map by evaluating it's values using context as context.

Implementation

void evaluateMap(Map map, Map? context) {
  if (context == null) {
    return;
  }
  for (var key in map.keys) {
    map[key] = evaluateValue(map[key], context);
  }
}