getName method

String? getName()

Get the name of this script in English.

Implementation

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