run method
void
run()
Implementation
void run() {
runZonedGuarded(() {
ErrorWidget.builder = (FlutterErrorDetails details) {
Zone.current.handleUncaughtError(details.exception, details.stack!);
return Container(color: Colors.transparent);
};
this.serviceProvider.run();
runApp(_App(app: this));
}, (Object obj, StackTrace stack) {
this.di.make('log').set(
jsonEncode({'obj': obj.toString(), 'stack': stack.toString()}),
this.errorLogKey);
print(obj);
print(stack);
});
}