incrementAsyncWithError method
Implementation
Future<void> incrementAsyncWithError() async {
await emitAsync(
Future.delayed(
const Duration(milliseconds: 100),
() => throw Exception('Async error'),
),
);
}
Future<void> incrementAsyncWithError() async {
await emitAsync(
Future.delayed(
const Duration(milliseconds: 100),
() => throw Exception('Async error'),
),
);
}