script property

String get script

获取脚本路径 (仅非Web平台)

Implementation

static String get script {
  if (kIsWeb) return 'N/A';
  return Platform.script.toString();
}