simulateAsyncCrash method
Implementation
Future<void> simulateAsyncCrash() async {
await Future.delayed(const Duration(seconds: 1));
throw const HttpException('Intentional async crash triggered!');
}
Future<void> simulateAsyncCrash() async {
await Future.delayed(const Duration(seconds: 1));
throw const HttpException('Intentional async crash triggered!');
}