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