LoadRequestParams constructor

const LoadRequestParams({
  1. required Uri uri,
  2. required LoadRequestMethod method,
  3. required Map<String, String> headers,
  4. Uint8List? body,
})

Used by the platform implementation to create a new LoadRequestParams.

Implementation

const LoadRequestParams({
  required this.uri,
  required this.method,
  required this.headers,
  this.body,
});