SSEResponse.raw constructor

SSEResponse.raw(
  1. String rawResponse
)

Creates an SSEResponse instance with the raw response string.

rawResponse is the raw response string. Returns an SSEResponse instance with the raw response string.

Implementation

factory SSEResponse.raw(String rawResponse) {
  return SSEResponse('', '', '', null, rawResponse);
}