SSE: SSEDisplay Implemented along with SSE ResponseBodyView Type

This commit is contained in:
Manas Hejmadi
2025-06-29 17:07:28 +05:30
parent 882b393fdd
commit 383b6ad4bc
5 changed files with 102 additions and 14 deletions

View File

@@ -395,10 +395,12 @@ class CollectionStateNotifier
);
} else {
final statusCode = response.statusCode;
respModel = baseHttpResponseModel.fromResponse(
response: response,
time: duration,
);
respModel = respModel ??
baseHttpResponseModel.fromResponse(
response: response,
time: duration,
);
newRequestModel = newRequestModel.copyWith(
responseStatus: statusCode,