I'm trying to update a big project with the version below, to a version with null safe but minimizing file changes.
environment:
sdk: ">=2.2.2 <3.0.0"
I've following dart's doc https://dart.dev/null-safety/migration-guide#step1-wait but I'm not certain that's what I'm looking for.
CodePudding user response:
May the Release Notes will help you.
At least I saw in every release some null safety update at least since 2.2.0.
CodePudding user response:
Optional no, but you can avoid al the request keyword using a ? when you declare the variables like this.
required String name;
String ? name;