DataPointHeader class
The header of a data point
OMH version 1.1 See @see header
- Implemented types
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- DataPointHeader({required String id, required DateTime creationDateTime, required SchemaId schemaId, String? userId, DataPointAcquisitionProvenance? acquisitionProvenance})
-
Creates a DataPointHeader. The id, creationDateTime, and
bodySchemaId
are required. Note, however, that normally you would not create a DataPointHeader, but instead create a DataPoint, which takes care of creating its own header. -
DataPointHeader.fromJson(Map<
String, dynamic> json) -
factory
Properties
- acquisitionProvenance ↔ DataPointAcquisitionProvenance?
-
getter/setter pair
- creationDateTime ↔ DateTime
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaId ↔ SchemaId
-
getter/setter pair
- userId ↔ String?
-
getter/setter pair
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