toString method
- @override
override
Returns a string representing the locale.
This identifier happens to be a valid Unicode Locale Identifier using underscores as separator, however it is intended to be used for debugging purposes only. For parseable results, use toLanguageTag instead.
Implementation
@override
String toString() => _toLanguageTag('_');