RequestData constructor

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

Implementation

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