handleInternalError method

  1. @protected
void handleInternalError(
  1. dynamic error,
  2. StackTrace stackTrace
)

Handles internal errors.

Implementation

@protected
void handleInternalError(dynamic error, StackTrace stackTrace) {
  if (kDebugMode && !errorController.hasListener) {
    log('[$runtimeType]: Internal Bloc error not handled', error: error);
  }
}