handleRunZoneGuardedError method
Implementation
Future<void> handleRunZoneGuardedError(
Object error,
StackTrace stackTrace,
) async {
final formatted = 'Unhandled Exception: $error\n$stackTrace';
await _saveCrash(
threadName: Isolate.current.debugName ?? 'main',
stackTrace: formatted,
crashType: error.runtimeType.toString(),
);
}