stockName property

String get stockName

Returns a random stock name.

Example:

Finance().stockName; // "Loncar Cancer Immunotherapy ETF"

Implementation

String get stockName {
  final data = IntFinanceData.stockNames;
  return data[Random(seed).integer(max: data.length - 1)];
}