main function Null safety
Implementation
Future<void> main() async {
await runZonedGuarded(
() async {
await AppSetup.initialise();
runApp(const McgApp());
},
AppSetup.onUncaughtException,
);
}
Future<void> main() async {
await runZonedGuarded(
() async {
await AppSetup.initialise();
runApp(const McgApp());
},
AppSetup.onUncaughtException,
);
}