Task class

A Task holds information about each task to be executed as part of a Study. Each Task holds a list of Measures to be done as part of this task.

Inheritance
Implementers
Annotations

Constructors

Task(String name)
Task.fromJson(Map<String, dynamic> json)
factory

Properties

c__ String
The runtime class name (type) of this object. Used for deserialization from JSON objects.
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
measures List<Measure>
A list of Measures to be done as part of this task.
read / write
name String
The name of this task. Unique for this Study.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addMeasure(Measure measure) → void
Add a Measure to this task.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeMeasure(Measure measure) → void
Remove a Measure from this task.
toJson() Map<String, dynamic>
Return a JSON encoding of this object.
override
toString() String
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

fromJsonFunction Function
read-only