closeApp function

Future<void> closeApp(
  1. ExitCode exitCode
)

Implementation

Future<void> closeApp(ExitCode exitCode) async {
  di.dispose().ignore();

  exit(exitCode.index);
}