Skip to content

OMHMovisensDataPoint

A Data object that holds an OMH DataPoint made from MovisensData.

Base class of the OMH data transformers registered by MovisensSamplingPackage.onRegister.

Inheritance
Implementers

Constructors

OMHMovisensDataPoint

OMHMovisensDataPoint(
  1. DataPoint datapoint
)

Properties

datapoint

DataPoint datapoint
getter/setter pair

The OMH data point.

jsonType

String get jsonType
override

Return the __type to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.

Methods

provenance

Creates the OMH provenance of data, naming the phone, the app and the Movisens sensor as source.

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.