start method

  1. @override
Future<void> start(
  1. DarwinSystemGeneratedArgs generated,
  2. DarwinSystemUserArgs user
)
override

Implementation

@override
Future<void> start(
    DarwinSystemGeneratedArgs generated, DarwinSystemUserArgs user) async {
  enableLogging();
  logger.info("Starting darwin application...");
  var stopwatch = Stopwatch();
  stopwatch.start();
  await prepareAndStartServices(this, generated, user);
  await runLateStartup(this);
  stopwatch.stop();
  logger.info(
      "Started darwin application in ${stopwatch.elapsedMilliseconds}ms!");
}