toJson method

String toJson()

Serializes the native mode identifier to a JSON-compatible string.

Implementation

String toJson() => name;