We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Now, I know why it works this way, but I didn't expect this.
import 'dart:io'; void main() { print(Platform.script); var uri = Platform.script.resolve('data'); print(File.fromUri(uri).existsSync()); }
PS C:\...> dart run .\bin\main.dart file:///C:/.../bin/main.dart true
PS C:\...> dart run -r .\bin\main.dart file:///c:/.../.dart_tool/kernel/bin/main.dart-2.19.0-444.4.beta.dill false
The text was updated successfully, but these errors were encountered:
Dart SDK version: 2.19.0-444.4.beta (beta) (Tue Jan 10 10:24:44 2023 +0000) on "windows_x64"
Sorry, something went wrong.
No branches or pull requests
Now, I know why it works this way, but I didn't expect this.
The text was updated successfully, but these errors were encountered: