computeFailed<R extends FastCalculatorResults> static method

FastCalculatorBlocEvent<R> computeFailed<R extends FastCalculatorResults>(
  1. dynamic error
)

Implementation

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