Company class

A class representing a company's data.

Constructors

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

Properties

country String
The country where the company is based.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the company.
final
percentageOfTotalSupply double
The percentage of the total supply held by the company.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
The stock symbol of the company.
final
totalCurrentValueUsd double
The total current value of the company's holdings in USD.
final
totalEntryValueUsd double
The total entry value of the company's holdings in USD.
final
totalHoldings double
The total holdings of the company.
final

Methods

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

Operators

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