TriggeredTask class Null safety

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

Annotations

Constructors

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

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetDevice DeviceDescriptor?
@JsonKey(ignore: true), read / write
targetDeviceRoleName String?
The role name of the device to which to send the task with taskName when the trigger condition is met.
read / write
task TaskDescriptor?
@JsonKey(ignore: true), read / write
taskName String
The name of the task to send to destinationDeviceRoleName when the trigger condition is met.
read / write
triggerId int
The id of the Trigger which describes the condition which when met sends the task with taskName to the device with destinationDeviceRoleName.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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