getLang function Null safety
- Locale l
Implementation
String getLang(Locale l) => l.countryCode != null && l.countryCode!.isEmpty
? l.languageCode
: l.toString();
String getLang(Locale l) => l.countryCode != null && l.countryCode!.isEmpty
? l.languageCode
: l.toString();