An execution context for client functions, providing access to data and other functions.
- Implementers
Properties
Methods
-
evaluateConditionStream(
Object? condition) → Stream< bool> - Evaluates a dynamic boolean condition and returns a Stream<bool>.
-
getFunction(
String name) → ClientFunction? - Retrieves a function by name from this context.
-
getValue<
T> (DataPath path) → T? - Gets a value, resolving the path against the current context.
-
nested(
DataPath relativePath) → ExecutionContext - Creates a new, nested ExecutionContext for a child widget.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
Object? value) → Stream< Object?> - Resolves any dynamic values (bindings or function calls) in the given value.
-
resolvePath(
DataPath pathToResolve) → DataPath - Resolves a path against the current context's path.
-
subscribe<
T> (DataPath path) → ValueListenable< T?> - Subscribes to a path, resolving it against the current context.
-
subscribeStream<
T> (DataPath path) → Stream< T?> - Subscribes to a path and returns a Stream.
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
DataPath path, Object? contents) → void - Updates the data model, resolving the path against the current context.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited