DataPoint class

Represents a single data point, generated by a particular data source.

A data point holds a value for each field, an end timestamp and an optional start time. The exact semantics of each of these attributes are specified in the documentation for the particular data type. A data point can represent an instantaneous measurement, reading or input observation, as well as averages or aggregates over a time interval. Check the data type documentation to determine which is the case for a particular data type. Data points always contain one value for each field of the data type.

Constructors

DataPoint({String? computationTimeMillis, String? dataTypeName, String? endTimeNanos, String? modifiedTimeMillis, String? originDataSourceId, String? rawTimestampNanos, String? startTimeNanos, List<Value>? value})
DataPoint.fromJson(Map json_)

Properties

computationTimeMillis String?
DO NOT USE THIS FIELD.
getter/setter pair
dataTypeName String?
The data type defining the format of the values in this data point.
getter/setter pair
endTimeNanos String?
The end time of the interval represented by this data point, in nanoseconds since epoch.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
modifiedTimeMillis String?
Indicates the last time this data point was modified.
getter/setter pair
originDataSourceId String?
If the data point is contained in a dataset for a derived data source, this field will be populated with the data source stream ID that created the data point originally.
getter/setter pair
rawTimestampNanos String?
The raw timestamp from the original SensorEvent.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTimeNanos String?
The start time of the interval represented by this data point, in nanoseconds since epoch.
getter/setter pair
value List<Value>?
Values of each data type field for the data point.
getter/setter pair

Methods

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