FlowRun class

Constructors

FlowRun({String? input, String? session, Object? tweaks, String? workflow})
Returns a new FlowRun instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
input ↔ String?
Input is the run's chat input value, handed to the graph's input node.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
session ↔ String?
Session groups runs into one conversation; the product mints one when absent and returns it in the response.
getter/setter pair
tweaks ↔ Object?
getter/setter pair
workflow ↔ String?
Workflow is the UUID of the workflow to run.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) → FlowRun?
Returns a new FlowRun instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<FlowRun>
mapFromJson(dynamic json) → Map<String, FlowRun>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<FlowRun>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.