fromSubtags method Null safety
Constructs a Locale instance that consists of only language, script and region subtags.
Throws a FormatException if any subtag is syntactically invalid.
Implementation
static Locale fromSubtags(
{required String languageCode,
String? scriptCode,
String? countryCode}) =>
LocaleImplementation.fromSubtags(
languageCode: languageCode,
scriptCode: scriptCode,
countryCode: countryCode);