scriptCode property
The script subtag of the Locale Identifier, null if absent.
It is syntactically valid and normalized (has correct case), but not necessarily valid (the script might not exist) because the list of valid scripts changes with time.
Implementation
String? get scriptCode;