I have started to learn dart, when I try to run dart code in vs code, I get the error saying that "Setting VM flags failed: Unrecognized flags: enable-asserts", I got the same error in IntelliJ. I use a Manjaro Linux desktop and have no problem when running code in terminal. Any idea?
I can't find a solution!