init static method
Implementation
static Future<void> init({required Future<void> Function() appRunner}) async {
LogDrop.crashTracker.init();
LogDrop.networkLogger.init();
// Run the app with error handling
runZonedGuarded(
() async {
WidgetsFlutterBinding.ensureInitialized();
await appRunner();
},
(error, stackTrace) async {
await LogDrop.crashTracker.handleRunZoneGuardedError(error, stackTrace);
},
);
}