SensorValue class
Class to store one sample data point
Constructors
- SensorValue({required DateTime time, required num value})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → Map< String, dynamic> - Returns JSON mapped data point
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
toJSONArray(
List< SensorValue> data) → List<Map< String, dynamic> > - Map a list of data samples to a JSON formatted array.