toJson method

String toJson()

Convert this to String by using toString.

WARNING: when hasFinitePrecision is false the decimal representation is truncated to the 10th decimal unit.

Implementation

String toJson() => toString();