onBooted method

void onBooted(
  1. void callback()
)

Adds a callback to be executed when the application has finished booting.

Callbacks are invoked in the order they were registered.

Implementation

void onBooted(void Function() callback) {
  _bootedCallbacks.add(callback);
}