RequestEntity constructor

RequestEntity(
  1. String method,
  2. Uri requestedUri, {
  3. String? protocolVersion,
  4. Map<String, Object>? headers,
  5. String? handlerPath,
  6. Uri? url,
  7. Object? body,
  8. Encoding? encoding,
  9. Map<String, Object>? context,
  10. String? pathTemplate,
})

Implementation

RequestEntity(
  super.method,
  super.requestedUri, {
  super.protocolVersion,
  super.headers,
  super.handlerPath,
  super.url,
  super.body,
  super.encoding,
  super.context,
  String? pathTemplate,
}) {
  _queryParams = _extractQueryParams(requestedUri.toString());
  if (pathTemplate != null) {
    setUpPathParams(pathTemplate);
  }
}