menu
http_interop package
documentation
extensions.dart
BodyExt extension
BodyExt extension
dark_mode
light_mode
BodyExt
extension
on
Body
Methods
decode
(
Encoding
encoding
)
→
Future
<
String
>
Available on
Body
, provided by the
BodyExt
extension
Decodes the body using the given
encoding
.
decodeJson
(
{
Object
?
reviver
(
Object
?
key
,
Object
?
value
)?
})
→
Future
Available on
Body
, provided by the
BodyExt
extension
Decodes the body into a JSON object.
http_interop package
documentation
extensions
BodyExt extension
extentions library