platformLocaleCode top-level property

String get platformLocaleCode

Returns the language code of the platform locale.

Implementation

String get platformLocaleCode => platformLocale.toLanguageTag();