toJson method

String toJson()

Encodes this value using its stable wire name.

Implementation

String toJson() => name;