genericMain function Null safety

void genericMain(
  1. Jrpn calculator
)

Implementation

void genericMain(Jrpn calculator) async {
  // Get there first!
  LicenseRegistry.addLicense(_getLicenses);

  if (!kIsWeb && Platform.isIOS) {
    // Get rid of ugly black bar along bottom.  It doesn't seem to do
    // anything -- maybe to be functional it has to be configured
    // somehow?
    WidgetsFlutterBinding.ensureInitialized();
    await SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
        overlays: [SystemUiOverlay.top]);
  }
  runApp(calculator);
}