RequestData constructor

RequestData({
  1. required String url,
  2. String? urlFragment,
  3. required String method,
  4. required Headers headers,
  5. bool? hasPostData,
  6. List<PostDataEntry>? postDataEntries,
  7. MixedContentType? mixedContentType,
  8. required ResourcePriority initialPriority,
  9. required RequestReferrerPolicy referrerPolicy,
  10. bool? isLinkPreload,
  11. TrustTokenParams? trustTokenParams,
  12. bool? isSameSite,
})

Implementation

RequestData({
  required this.url,
  this.urlFragment,
  required this.method,
  required this.headers,
  this.hasPostData,
  this.postDataEntries,
  this.mixedContentType,
  required this.initialPriority,
  required this.referrerPolicy,
  this.isLinkPreload,
  this.trustTokenParams,
  this.isSameSite,
});