dart this constructor
class MyClass {
int param1;
MyClass(this.param1);
}
final obj = MyClass(100);
class MyClassNamed { // with named parameters
int param1;
MyClassNamed({required this.param1});
}
final objNamedParam = MyClassNamed(param1: 100);