CARPDataPoint class

A CARP Data Point which can be uploaded to a CARP data endpoint.

See https://github.com/cph-cachet/carp.webservices

Annotations

Constructors

CARPDataPoint(CARPDataPointHeader carpHeader, Datum carpBody)
CARPDataPoint.fromDatum(String studyId, String userId, Datum datum)
CARPDataPoint.fromJson(Map<String, dynamic> json)
factory

Properties

carpBody Datum
The CARP data point body. Can be any payload modelled as a Datum.
read / write
carpHeader CARPDataPointHeader
The CARP data point header.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
A unique, server-side generated ID for this data point. null if this data point is not yet stored in the CARP server.
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
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited