toString method

  1. @override
String toString()
override

Returns the shortest string that correctly represent the input number.

An Integer is converted to a decimal representation with no decimal point.

Implementation

@override
String toString() => value.toString();