languageTag property

String get languageTag

Implementation

String get languageTag => [languageCode, scriptCode, countryCode]
    .where((element) => element != null)
    .join('-');