Trigger class

Information about a specific trigger.

Constructors

Trigger({List<Action>? actions, String? description, String? id, String? name, Predicate? predicate, String? schedule, TriggerState? state, TriggerType? type, String? workflowName})
Trigger.fromJson(Map<String, dynamic> json)
factory

Properties

actions List<Action>?
The actions initiated by this trigger.
final
description String?
A description of this trigger.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
Reserved for future use.
final
name String?
The name of the trigger.
final
predicate Predicate?
The predicate of this trigger, which defines when it will fire.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedule String?
A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
final
state TriggerState?
The current state of the trigger.
final
type TriggerType?
The type of trigger that this is.
final
workflowName String?
The name of the workflow associated with the trigger.
final

Methods

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

Operators

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