Request.get constructor

Request.get({
  1. Uri? uri,
  2. Map<String, String>? headers,
  3. Object? body,
})

A GET Request which will make the request.

Implementation

Request.get({
  this.uri,
  this.headers,
  this.body,
}) : type = RequestType.get;