init method
Implementation
@override
Future<void> init(VoidCallback runAppFunction) async {
var catcher = Catcher(
runAppFunction: runAppFunction,
debugConfig: await catcherConfig.catcherDebugOptions(),
profileConfig: await catcherConfig.catcherProfileOptions(),
releaseConfig: await catcherConfig.catcherReleaseOptions(),
enableLogger: catcherConfig.isLoggingEnabled(),
navigatorKey: navigatorKey,
);
Application.serviceLocator.registerSingleton<Catcher>(catcher);
}