Fix: Resolve critical linting issues and bugs (concurrency, syntax, dead code)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import 'dart:developer' as developer;
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
import 'package:krow_domain/krow_domain.dart';
|
||||
|
||||
/// Mixin to standardize error handling across all BLoCs.
|
||||
@@ -45,7 +45,7 @@ mixin BlocErrorHandler<S> {
|
||||
/// - Logs full error and stack trace
|
||||
/// - Emits generic error state
|
||||
Future<void> handleError({
|
||||
required Emitter<S> emit,
|
||||
required void Function(S) emit,
|
||||
required Future<void> Function() action,
|
||||
required S Function(String errorKey) onError,
|
||||
String? loggerName,
|
||||
|
||||
Reference in New Issue
Block a user