Datapoint class

Represents a single value in the forecast data used for predictive scaling.

Constructors

Datapoint({DateTime? timestamp, double? value})
Datapoint.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime?
The time stamp for the data point in UTC format.
final
value double?
The value of the data point.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited