primary constructor
Also written: primary constructors
A shorter way, added in Dart 3.13, to declare a class's fields and its constructor together in one place. It is an alternative to the classic form, where fields and the constructor are written separately.