Request constructor

const Request({
  1. required HttpMethod method,
  2. required Uri url,
})

Returns the new instance of Request.

Implementation

const Request({
  required this.method,
  required this.url,
});