evalIndexExpression method
dynamic
evalIndexExpression(})
Implementation
@override
dynamic evalIndexExpression(
IndexExpression expression,
Map<String, dynamic> context, {
bool nullable = false,
}) {
dynamic objectIndexValue;
var objectValue = eval(expression.object, context);
if (objectValue != null) {
objectIndexValue =
eval(expression.object, context)[eval(expression.index, context)];
}
return objectIndexValue;
}