ApiRequest constructor

ApiRequest(
  1. ApiRequestMethod method,
  2. Route route,
  3. Map<String, List<String>> headers,
  4. Map<String, String> queryParams,
  5. Stream<List<int>> bodyData,
  6. Session? session,
)

Implementation

ApiRequest(
  this.method,
  this.route,
  this.headers,
  this.queryParams,
  this.bodyData,
  this.session,
);