PreferenceTemplate class

Annotations
  • @JsonSerializable()

Constructors

PreferenceTemplate.new({required String id, required String name, required bool critical, required List<WorkflowTrigger> triggers, List<String> tags = const []})
PreferenceTemplate.fromJson(Map<String, dynamic> json)
factory

Properties

critical bool
Critical templates will always be delivered to the end user and should be hidden from the subscriber preferences screen
latefinal
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier of the workflow
latefinal
name String
Name of the workflow
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>
final
triggers List<WorkflowTrigger>
Triggers are the events that will trigger the workflow.
latefinal

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.
inherited

Operators

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