TypeError constructor Null safety

TypeError()