PodExpressionContext constructor

PodExpressionContext(
  1. ConfigurablePodFactory podFactory,
  2. PodScope? scope
)

Context for evaluating expressions in a pod environment.

Provides access to the ConfigurablePodFactory and optional PodScope, which are necessary for resolving values dynamically during pod initialization.

Example:

class MyPodExpressionContext implements PodExpressionContext {
  final ConfigurablePodFactory factory;
  final Scope? scope;

  MyPodExpressionContext(this.factory, this.scope);

  @override
  ConfigurablePodFactory getPodFactory() => factory;

  @override
  Scope? getScope() => scope;
}

Implementation

PodExpressionContext(this.podFactory, this.scope);