getLangSpec method
Return the language locale specifier.
Implementation
String getLangSpec() {
String spec = language ?? '';
if (spec.isNotEmpty && script != null && script!.isNotEmpty) {
spec += '-${script!}';
}
return spec;
}
Return the language locale specifier.
String getLangSpec() {
String spec = language ?? '';
if (spec.isNotEmpty && script != null && script!.isNotEmpty) {
spec += '-${script!}';
}
return spec;
}