DVWorkflowDocument class

Constructors

DVWorkflowDocument({required String name, DVWorkflowSide side = DVWorkflowSide.backend, List<DVWorkflowParameter>? parameters, DVWorkflowType? returns, List<DVWorkflowStep>? steps})
DVWorkflowDocument.fromJson(Map<String, Object?> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The generated function's name, and the key it is stored under.
final
parameters → List<DVWorkflowParameter>
The inputs, in order. They arrive as variables when the workflow runs.
final
returns → DVWorkflowType?
What a return step hands back, or null for a workflow that returns nothing.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
side → DVWorkflowSide
Where it runs. A workflow saved before there were two is a backend one, which is all there was.
final
steps → List<DVWorkflowStep>
final
untyped → List<String>
Full code export: the workflow as an ordinary private @DVBackendFunction, the same shape a hand-written one has.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDartSource() → String
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited