ResponseData constructor

ResponseData({
  1. required Method method,
  2. required String url,
  3. required int statusCode,
  4. Map<String, String>? headers,
  5. required String body,
  6. List<int>? bodyBytes,
  7. int? contentLength,
  8. bool? isRedirect,
  9. bool? persistentConnection,
})

Implementation

ResponseData({
  required this.method,
  required this.url,
  required this.statusCode,
  this.headers,
  required this.body,
  this.bodyBytes,
  this.contentLength,
  this.isRedirect,
  this.persistentConnection,
});