MyDartPkg constructor Null safety

MyDartPkg()