toString method

  1. @override
String toString()
override

string with reset appended, so the style stops at the end of it.

Implementation

@override
String toString() => '$string$reset';