Finance class

Provides finance and business related data.

Constructors

Finance({Locale locale = Locale.en, int? seed})
Provides finance and business related data.
const

Properties

bank String
Returns a random bank name.
no setter
company String
Returns a random company name.
no setter
cryptocurrencyIsoCode String
Returns a random cryptocurrency ISO code.
no setter
cryptocurrencySymbol String
Returns a cryptocurrency symbol.
no setter
currencySymbol String
Returns a currency symbol for current locale.
no setter
hashCode int
The hash code for this object.
no setterinherited
locale Locale
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed int?
final
stockExchange String
Returns a random stock exchange.
no setter
stockName String
Returns a random stock name.
no setter
stockTicker String
Returns a random stock ticker.
no setter

Methods

companyType({bool isAbbr = false}) String
Returns a random type of business entity.
currencyIsoCode({bool allowRandom = false}) String
Returns a currency code for current locale.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
price({double min = 500.0, double max = 1500.0}) double
Returns a random price.
priceInBTC({double min = 0.0, double max = 2.0}) double
Returns a random price in BTC.
toString() String
A string representation of this object.
inherited

Operators

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