MarketChartData class

A class that represents market chart data, including date, price, market capitalization, and total volume.

Constructors

MarketChartData(DateTime date, {double? price, double? marketCap, double? totalVolume})
Constructs a MarketChartData instance with the given date and optional price, market capitalization, and total volume.

Properties

date DateTime
The date of the market data.
final
hashCode int
The hash code for this object.
no setterinherited
marketCap double?
The market capitalization of the asset at the given date.
getter/setter pair
price double?
The price of the asset at the given date.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalVolume double?
The total volume of the asset traded at the given date.
getter/setter pair

Methods

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

Operators

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