SseCodec<S, E extends Object> constructor

const SseCodec<S, E extends Object>({
  1. required S decodeSuccessData(
    1. SseDeserializer deserializer
    ),
  2. required E decodeErrorData(
    1. SseDeserializer deserializer
    )?,
})

This is only intended to be used by automatically generated code, instead of developers.

Implementation

const SseCodec({
  required this.decodeSuccessData,
  required this.decodeErrorData,
});