CARPDataPointHeader class
The header attached to all CARPDataPoints.
- Annotations
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- CARPDataPointHeader(String studyId, String userId, {String deviceRoleName, String triggerId, DateTime startTime, DateTime endTime})
-
Create a new CARPDataPointHeader.
studyId
anduserId
are required. -
CARPDataPointHeader.fromJson(Map<
String, dynamic> json) -
factory
Properties
- dataFormat ↔ DataFormat
-
The CARP data format. See DataFormat and NameSpace.
read / write
- deviceRoleName ↔ String
-
The role of this device in the Study.
read / write
- endTime ↔ DateTime
-
The UTC end timestamp for this data point.
If this data point does not cover a period, endTime will be null.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- startTime ↔ DateTime
-
The UTC start timestamp for this data point.
read / write
- studyId ↔ String
-
The ID of the Study from which this data point was generated.
read / write
- triggerId ↔ String
-
The ID of the Trigger that generated this data point.
read / write
- uploadTime ↔ DateTime
-
The UTC time stamp of when this data point was uploaded to the server.
Set by the server.
read / write
- userId ↔ String
-
The ID of the user (if known).
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited