DatapointModel class
Each datapoint or aggregate is represented by DatapointModel
Note that each datatpoint supports layering using layer with first layer as 0.
Constructors
-
DatapointModel.fromJson(Map<
String, dynamic> json)
Properties
- average ↔ double?
-
The integral average value in the aggregate period.
getter/setter pair
- continuousVariance ↔ double?
-
The variance of the interpolated underlying function.
getter/setter pair
- count ↔ int?
-
The number of datapoints in the aggregate period.
getter/setter pair
- datetime ↔ DateTime
-
timestamp in DateTime object
getter/setter pair
- discreteVariance ↔ double?
-
The variance of the datapoint values.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- interpolation ↔ double?
-
The interpolated value of the series in the beginning of the aggregate.
getter/setter pair
- layer ↔ int
-
Not set = -1
getter/setter pair
- localDateTime → dynamic
-
Get the timestamp in local timezone
no setter
- max ↔ double?
-
The maximum value in the aggregate period.
getter/setter pair
- min ↔ double?
-
The minimum value in the aggregate period.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stepInterpolation ↔ double?
-
The last value before or at the beginning of the aggregate.
getter/setter pair
- strValue ↔ String?
-
String value of a data point
getter/setter pair
- sum ↔ double?
-
The sum of the datapoints in the aggregate period.
getter/setter pair
- timestamp ↔ int?
-
The number of milliseconds since 00:00:00 Thursday, 1 January 1970,
Coordinated Universal Time (UTC), minus leap seconds.
getter/setter pair
- totalVariance ↔ double?
-
The total variation of the interpolated underlying function.
getter/setter pair
- value ↔ double?
-
Numeric value of a data point
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
List? json) → List< DatapointModel>