Measure class Null safety
A Measure holds information about what measure to do/collect for a TaskDescriptor in a StudyProtocol.
See Measure.
- Inheritance
- Object
- Serializable
- Measure
- Implementers
- Annotations
- @JsonSerializable(fieldRename: FieldRename.none, includeIfNull: false)
Constructors
- Measure({required String type})
-
Measure.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type ↔ String?
-
The runtime class name (type) of this object.
Used for deserialization from JSON objects.
read / write, inherited
- dataType → DataType
-
The type of measure to do as a DataType.
@JsonKey(ignore: true), read-only
- fromJsonFunction → Function
-
The function which can convert a JSON string to an object of this type.
read-only, override
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- jsonType → String
-
Return the $type to be used for JSON serialization of this class.
Default is runtimeType. Only specify this if you need another type.
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type ↔ String
-
The type of measure to do.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
Return a JSON encoding of this object.
override
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited