Workflow class
Constructors
-
Workflow({WorkflowLinks? links, DateTime? createdAt, String? description, WorkflowState? end, String? id, required String name, WorkflowState? start, List<
WorkflowState> ? states = const [], List<WorkflowTransition> ? transitions = const [], String? type, DateTime? updatedAt}) - Returns a new Workflow instance.
Properties
- createdAt → DateTime?
-
final
- description ↔ String?
-
getter/setter pair
- end ↔ WorkflowState?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
final
- links ↔ WorkflowLinks?
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start ↔ WorkflowState?
-
getter/setter pair
-
states
↔ List<
WorkflowState> ? -
getter/setter pair
-
transitions
↔ List<
WorkflowTransition> ? -
getter/setter pair
- type ↔ String?
-
getter/setter pair
- updatedAt → DateTime?
-
final
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(
Map< String, dynamic> ? json) → Workflow? -
Returns a new Workflow instance and imports its values from
json
if it's non-null, null ifjson
is null. -
listFromJson(
List? json) → List< Workflow> -
mapFromJson(
Map< String, dynamic> ? json) → Map<String, Workflow> -
mapListFromJson(
Map< String, dynamic> ? json) → Map<String, List< Workflow> >