# evaluate method

FutureOr<ObjectHolder<Object>?> evaluate(

1. Object? expression,
2. PodExpressionContext context

)

Evaluates the given `expression` string in the context of the provided PodExpressionContext.

The result may be a literal value, a resolved pod reference, or a computed value based on the framework's expression evaluation rules.

Example:

    final context = PodExpressionContext(factory, scope);
    final resolver = SimpleExpressionResolver();
    final result = resolver.evaluate(expr, context);
    print(result); // e.g., "singleton"

## Implementation

    FutureOr<ObjectHolder<Object>?> evaluate(Object? expression, PodExpressionContext context) async {
      if (expression == null) {
        return null;
      }

      final result = await parseExpression(expression);
      return result.evaluate(context);
    }