CompaniesData class
A class that wraps the data related to companies' holdings and market information.
Constructors
-
CompaniesData.fromJson(Map<
String, dynamic> json) - Constructs a CompaniesData instance from a JSON map.
Properties
-
companies
→ List<
Company> -
A list of companies.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- marketCapDominance → double
-
The market capitalization dominance of the companies.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalHoldings → double
-
The total holdings of the companies.
final
- totalValueUsd → double
-
The total value of the holdings in USD.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of the CompaniesData instance.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited