BaseRequest constructor

BaseRequest({
  1. required String path,
  2. String? url,
  3. Map<String, dynamic>? body,
  4. Map<String, String>? headers,
  5. FormData? formData,
  6. bool followRedirects = false,
  7. RequestType method = RequestType.get,
})

Implementation

BaseRequest({
  required this.path,
  this.url,
  this.body,
  this.headers,
  this.formData,
  this.followRedirects = false,
  this.method = RequestType.get,
});