Request constructor Null safety

Request(
  1. 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);