Request constructor

const Request({
  1. Pattern? route,
  2. RequestMethods? method,
  3. dynamic data,
  4. Map<String, dynamic>? queryParameters,
  5. Map<String, dynamic>? headers,
})

Implementation

const Request({
  this.route,
  this.method,
  this.data,
  this.queryParameters,
  this.headers,
});