initFailed<R extends FastCalculatorResults> static method
FastCalculatorBlocEvent<R>
initFailed<R extends FastCalculatorResults>(
- dynamic error,
- 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,
),
);
}