Price class

Used for tracking currency trading pair prices (i.e. ADA to USD).

TODO simple ticker names won't work with Cardano Native tokens which use a policyId and coin name.

Constructors

Price({String fromTicker = 'ADA', String toTicker = 'USD', int timestamp = 0, double value = 0.0})

Properties

briefLastUpdated String
no setter
dateTime DateTime
no setter
fromTicker String
final
hashCode int
The hash code for this object.
no setterinherited
lastUpdated Duration
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
final
toTicker String
final
value double
final

Methods

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

Operators

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