toString method

  1. @override
String toString()
override

Returns a string representation of the Company instance.

Implementation

@override
String toString() {
  return '${Helpers.getTypeName(Company)}: name = $name, totalHoldings = $totalHoldings';
}