RequestBody constructor Null safety
- HttpRequest request
Creates a new instance of this type.
Instances of this type decode request
's body based on its content-type.
See CodecRegistry for more information about how data is decoded.
Decoded data is cached the after it is decoded.
Implementation
RequestBody(HttpRequest super.request)
: _request = request,
_originalByteStream = request;