With recent change in NNBD specification it is allowed to have one optional positional parameter of main()
or more than two optional positional arguments. So, the following is not an error
main([List<String> args = const []]) {
}
main([List<String> args = const [], var i, String s = ""]) {
}
But now, it is a runtime error on dart2js in both of the cases above