The conclusion is: you can add new or not. In Dart 2, the new keyword is optional . If you want, you can continue to ignore it, and this will not have effect on your program.
The conclusion is: you can add new or not. In Dart 2, the new keyword is optional . If you want, you can continue to ignore it, and this will not have effect on your program.