toJson method

String toJson()

Converts this break to a JSON string.

Implementation

String toJson() => json.encode(toMap());