toString method

  1. @override
String toString()
override

Returns a string representation of the OHLCInfo instance.

The string includes the type name and the values of the timestamp, open, high, low, and close fields.

Implementation

@override
String toString() {
  return '${Helpers.getTypeName(OHLCInfo)}: timestamp = $timestamp, open = $open, high = $high, low = $low, close = $close';
}