HeliumOraclePriceStats class
Statistics about the price of 1 HNT in USD over a period of time.
- Annotations
-
- @JsonSerializable()
Constructors
- HeliumOraclePriceStats({required double avg, required double max, required double median, required double min, required double stddev})
- Creates a new instance.
-
HeliumOraclePriceStats.fromJson(Map<
String, dynamic> json) -
Creates an instance from a map derived from the JSON serialization.
factory
Properties
- avg → double
-
The arithmetic mean price of 1 HNT in USD.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → double
-
The maximum price of 1 HNT in USD.
final
- median → double
-
The median price of 1 HNT in USD.
final
- min → double
-
The minimum price of 1 HNT in USD.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stddev → double
-
The standard deviation of the price of 1 HNT.
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