toJson method

String toJson()

Serializes error level to JSON string.

Implementation

String toJson() => name;