That question has nothing to do with Gradle, other than that you use Gradle to run the build. But you do not have a Gradle problem, but something is going wrong with your
dart.exe
call, so I guess you get better help if you ask in some Dart community. 🙂