Derivative class

A class representing a derivative data wrapper.

Constructors

Derivative.fromJson(Map<String, dynamic> json)
Constructs a Derivative instance from a JSON map.

Properties

basis double
The basis value of the derivative.
final
contractType String
The type of contract.
final
expiredAt DateTime?
The expiration timestamp of the derivative.
final
fundingRate double
The funding rate of the derivative.
final
hashCode int
The hash code for this object.
no setterinherited
index double?
The index value of the derivative.
final
indexId String
The index ID of the derivative.
final
lastTradedAt DateTime
The timestamp of the last trade.
final
market String
The name of the market.
final
openInterest double
The open interest of the derivative.
final
price double
The price of the derivative.
final
pricePercentageChange24h double
The percentage change in price over the last 24 hours.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spread double?
The spread value of the derivative.
final
symbol String
The symbol of the derivative.
final
volume24h double
The trading volume over the last 24 hours.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of the Derivative instance.
override

Operators

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