HeliumOraclePricePrediction class

A data point representing a predicted price of 1 HNT in USD at some time in the future.

Annotations
  • @JsonSerializable()

Constructors

HeliumOraclePricePrediction({required int price, required DateTime time})
Creates a new instance.
HeliumOraclePricePrediction.fromJson(Map<String, dynamic> json)
Creates an instance from a map derived from the JSON serialization.
factory

Properties

dollars double
The approximate predicted price of 1 HNT in USD.
no setter
hashCode int
The hash code for this object.
no setterinherited
price int
The predicted price of 1 HNT in thousandths of a DC or ten-millionths of a USD.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time DateTime
The time that the predicted price may take effect.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Creates a map suitable for serialization to JSON.
toString() String
A string representation of this object.
inherited

Operators

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