TriggeredTask class

Specifies a task which at some point during a StudyProtocol gets sent to a specific device.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.none, includeIfNull: false)

Constructors

TriggeredTask(int triggerId, [TaskDescriptor? task, DeviceDescriptor? targetDevice])
TriggeredTask.fromJson(Map<String, dynamic> json)
factory

Properties

hasBeenScheduledUntil DateTime?
The time the task have been scheduled until. Mainly used when scheduling a series of tasks for this trigger.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetDevice DeviceDescriptor?
getter/setter pair
targetDeviceRoleName String?
The role name of the device to which to send the task with taskName when the trigger condition is met.
getter/setter pair
task TaskDescriptor?
getter/setter pair
taskName String
The name of the task to send to targetDeviceRoleName when the trigger condition is met.
getter/setter pair
triggerId int
The id of the Trigger which describes the condition which when met sends the task with taskName to the device with targetDeviceRoleName.
getter/setter pair

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