menu
http_interceptor package
documentation
extensions/response.dart
ResponseCopyWith extension
ResponseCopyWith extension
dark_mode
light_mode
ResponseCopyWith
extension
Extends
Response
to provide copied instances.
on
Response
Methods
copyWith
(
{
String
?
body
,
int
?
statusCode
,
BaseRequest
?
request
,
Map
<
String
,
String
>
?
headers
,
bool
?
isRedirect
,
bool
?
persistentConnection
,
String
?
reasonPhrase
})
→
Response
Creates a new instance of
Response
based of on
this
. It copies all the properties and overrides the ones sent via parameters.
http_interceptor package
documentation
extensions/response
ResponseCopyWith extension
response library