After migrating to null safety I got tons of error solved a lot but there is a lot of run time errors If you could help and update the code