CryptoQuote class

Constructors

CryptoQuote(String symbol, String sector, String calculationPrice, String high, String low, String latestPrice, String latestSource, DateTime latestUpdate, String latestVolume, String previousClose, String bidPrice, String bidSize, String askPrice, String askSize)
Default Constructor

Properties

askPrice String
The current ask price
final
askSize String
The current size of the ask
final
bidPrice String
The current bid price
final
bidSize String
The current size of the bid
final
calculationPrice String
This will always return realtime
final
hashCode int
The hash code for this object.
no setterinherited
high String
The high of the cryptocurrency within the last 24 hours
final
latestPrice String
The latest price for this cryptocurrency
final
latestSource String
This will always be Real time price - this is a colloquial representation of calculationPrice
final
latestUpdate DateTime
Epoch timestamp of when the price was last updated
final
latestVolume String
24 hour trailing volume
final
low String
The low of the cryptocurrency within the last 24 hours
final
previousClose String
The price of the cryptocurrency 24 hours ago
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sector String
This will always return cryptocurrency
final
symbol String
The symbol of the cryptocurrency
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

Static Methods

parse(Map<String, dynamic>? data) CryptoQuote?
Convert JSON to CryptoQuote