toJson method Null safety

String toJson()

Returns the String value of this.

Implementation

String toJson() => value;