Request constructor

const Request(
  1. String method,
  2. String url,
  3. String baseUrl, {
  4. dynamic body,
  5. Map<String, dynamic> parameters = const {},
  6. Map<String, String> headers = const {},
  7. bool multipart = false,
  8. List<PartValue> parts = const [],
})

Implementation

const Request(
  this.method,
  this.url,
  this.baseUrl, {
  this.body,
  this.parameters = const {},
  this.headers = const {},
  this.multipart = false,
  this.parts = const [],
});