Late
goooooood video
Dart Late Modifier - #5 Dart Programming Tutorial for Beginners
Dart Programming Tutorial for Beginners: In this video we will learn about Late Modifier in Dart. If you are having difficulties navigating from one lesson to another, then click on this link and it will open the complete playlist of this Dart Programming Tutorial for Beginners.

class User {
User(this.name);
final String name;
final int _secretNumber = _calculateSecret();
int _calculateSecret() {
return name.length + 42;
}
}
// the code above wont work
// because you cant access values during init
class User {
User(this.name) {
_secretNumber = _calculateSecret();
}
late final int _secretNumber;
// ...
}
// you can init later
// make sure u init before use because it is not null