getAllScripts method
Return an array of script codes used to write text in the current language.
Implementation
List<String> getAllScripts() {
final String jscode1 =
'JSON.stringify(new LocaleInfo("$locale").getAllScripts())';
final String result = ILibJS.instance.evaluate(jscode1).stringResult;
return List<String>.from(json.decode(result) as List<dynamic>);
}