getDigits method

String? getDigits()

Return the digits of the default script if they are defined.

Implementation

String? getDigits() {
  final String jscode1 = 'new LocaleInfo("$locale").getDigits()';
  final String result = ILibJS.instance.evaluate(jscode1).stringResult;
  if (result == null || result.isEmpty || result == 'null') {
    return null;
  }
  return result;
}