toString method

  1. @override
String toString()
override

Returns a string representation of the MarketIndexShort instance.

The string contains the type name and the values of the id and name fields.

Implementation

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