transformError method

  1. @protected
BlocError? transformError(
  1. dynamic error,
  2. StackTrace stackTrace
)
inherited

Transforms the error before it is emitted.

Implementation

@protected
BlocError? transformError(dynamic error, StackTrace stackTrace) {
  return BlocError(source: error, stackTrace: stackTrace);
}