initFailed<R extends FastCalculatorResults> static method

FastCalculatorBlocEvent<R> initFailed<R extends FastCalculatorResults>(
  1. dynamic error,
  2. dynamic stacktrace
)

Implementation

static FastCalculatorBlocEvent<R> initFailed<R extends FastCalculatorResults>(
  dynamic error,
  dynamic stacktrace,
) {
  return FastCalculatorBlocEvent<R>(
    type: FastCalculatorBlocEventType.initFailed,
    payload: FastCalculatorBlocEventPayload<R>(
      stacktrace: stacktrace,
      error: error,
    ),
  );
}