Measure class

A Measure holds information about what measure to do for each task. This also includes measure specific configuration.

Inheritance
Implementers
Annotations

Constructors

Measure(String measureType, {String name})
Measure.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
configuration Map<String, String>
A simple key-value map which can hold any application-specific configuration.
read / write
enabled bool
Whether the measure is enabled when the study is started. A measure is enabled as default.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
measureType String
The type of measure to do.
read / write
name String
A printer-friendly name for this measure.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setConfiguration(String key, String configuration) → void
Add a key-value pair as configuration for this measure.
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

Constants

ERROR_MEASURE → const String
"error"
GENERIC_MEASURE → const String
"measure"
LISTENING_MEASURE → const String
"listening"
POLLING_MEASURE → const String
"polling"
PROBE_MEASURE → const String
"probe"
STRING_MEASURE → const String
"string"