evaluateValue method

dynamic evaluateValue(
  1. dynamic value,
  2. Map map
)

Returns the evaluated value of a given value using map as context.

Implementation

dynamic evaluateValue(dynamic value, Map map) {
  if (value is String) {
    return evaluateString(value, map);
  } else if (value is Map) {
    evaluateMap(value, map);
  } else if (value is List) {
    evaluateList(value, map);
  }
  return value;
}