BlocLogRecord.onError constructor

BlocLogRecord.onError(
  1. BlocBase bloc,
  2. Object error,
  3. StackTrace stackTrace
)

Implementation

factory BlocLogRecord.onError(
  BlocBase bloc,
  Object error,
  StackTrace stackTrace,
) =>
    BlocLogRecord(
      type: BlocLogRecordType.onError,
      bloc: bloc,
      error: error,
      stackTrace: stackTrace,
    );