evalMemberExpression method

  1. @override
dynamic evalMemberExpression(
  1. MemberExpression expression,
  2. Map<String, dynamic> context, {
  3. bool nullable = false,
})

Implementation

@override
dynamic evalMemberExpression(
  MemberExpression expression,
  Map<String, dynamic> context, {
  bool nullable = false,
}) {
  var variableName = '${expression.object}.${expression.property}';
  return evalVariable(Variable(Identifier(variableName)), context);
}