patchMetadata<R extends FastCalculatorResults> static method

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

Implementation

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