Skip to content

MonitoringTask

A task which is used for monitoring the execution of the data sampling collecting data on CompletedTask, TriggeredTask, and Error.

This task is not supposed to be executed as such, but allows such monitoring measures to be added to a protocol.

Inheritance
Annotations

Constructors

MonitoringTask.fromJson

MonitoringTask.fromJson(
  1. Map<String, dynamic> json
)

MonitoringTask

MonitoringTask({
  1. String? name,
  2. String? description,
  3. List<Measure>? measures,
})

Create a new monitoring task.

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.