Request constructor Null safety
- HttpRequest raw
Creates an instance of Request, no need to do so manually.
Implementation
Request(this.raw)
: path = RequestPath(raw.uri.pathSegments),
body = RequestBody(raw);
Creates an instance of Request, no need to do so manually.
Request(this.raw)
: path = RequestPath(raw.uri.pathSegments),
body = RequestBody(raw);