DataPoint class
An OMH data point
OMH version 1.0 See data-point
- Implemented types
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- DataPoint({required Measure body, String? userId, DataPointAcquisitionProvenance? provenance})
- Creates a DataPoint encapsulating OMH schema data specified in body.
-
DataPoint.fromJson(Map<
String, dynamic> json) -
factory
Properties
- body ↔ Measure
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- header ↔ DataPointHeader
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getSchemaId(
) → SchemaId -
The schema this class corresponds to
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited