pathToScript property
The absolute path to the dcli script which is currently running.
Implementation
@Deprecated('Use Script.current.pathToScript')
String get pathToScript {
_scriptPath ??= DartScript.current.pathToScript;
return _scriptPath!;
}