custom<R extends FastCalculatorResults> static method

FastCalculatorBlocEvent<R> custom<R extends FastCalculatorResults>(
  1. String key, {
  2. dynamic value,
})

Implementation

static FastCalculatorBlocEvent<R> custom<R extends FastCalculatorResults>(
  String key, {
  dynamic value,
}) {
  return FastCalculatorBlocEvent<R>(
    type: FastCalculatorBlocEventType.custom,
    payload: FastCalculatorBlocEventPayload<R>(key: key, value: value),
  );
}