Yes. You're right. This variable becomes unofficial (undocumented).
Of course, it is possible to determine the path to the Dart SDK from the Dart script.
But for new programmers who want to find the path to the Dart SDK from scripts without Dart (for example, from files .bat), this can be problematic, as there is currently no official way to specify the path to the installed Dart SDK.
source
share