DVWorkflowValue class
A value a step consumes: either a literal or a reference to a variable.
{'\$var': 'user'} reads the variable user; anything else is the literal
itself. Keeping references explicit means a literal string that happens to
look like a name is never mistaken for one.
Constructors
- DVWorkflowValue.literal(Object? literal)
-
const
- DVWorkflowValue.reference(String variable)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
Map< String, Object?> variables, {String? stepId}) → Object? -
Resolves against
variables, failing loudly on an unknown name. -
toDartSource(
) → String - The Dart expression for this value, for code export.
-
toJson(
) → Object? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → DVWorkflowValue