toJson method

String toJson()

dart:convert

Converts Locale to a JSON string.

Implementation

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