DVWorkflowParameter class

An input a workflow takes: a name, a type and whether it may be left out.

type is null only for a workflow saved before inputs had types; such a workflow neither runs nor exports until each input is given one.

Constructors

DVWorkflowParameter(String name, DVWorkflowType? type, {bool optional = false})
const
DVWorkflowParameter.fromJson(Object? json)
factory

Properties

dartType → String
String, int?: what an export declares.
no setter
hashCode → int
The hash code for this object.
no setteroverride
name → String
final
optional → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → DVWorkflowType?
final

Methods

copyWith({String? name, DVWorkflowType? type, bool? optional}) → DVWorkflowParameter
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

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