Transition class

Details of a workflow transition.

Constructors

Transition({required String description, required List<String> from, required String id, required String name, Map<String, dynamic>? properties, WorkflowRules? rules, TransitionScreenDetails? screen, required String to, required TransitionType type})
Transition.fromJson(Map<String, Object?> json)
factory

Properties

description String
The description of the transition.
final
from List<String>
The statuses the transition can start from.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the transition.
final
name String
The name of the transition.
final
properties Map<String, dynamic>?
The properties of the transition.
final
rules WorkflowRules?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screen TransitionScreenDetails?
final
to String
The status the transition goes to.
final
type TransitionType
The type of the transition.
final

Methods

copyWith({String? description, List<String>? from, String? id, String? name, Map<String, dynamic>? properties, WorkflowRules? rules, TransitionScreenDetails? screen, String? to, TransitionType? type}) Transition
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.
inherited

Operators

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