HttpRequest constructor
HttpRequest({
- required String url,
- HttpMethod httpMethod = HttpMethod.$default,
- Map<
String, String> headers = const {}, - Uint8List? body,
- OauthToken? oauthToken,
- OidcToken? oidcToken,
Implementation
HttpRequest({
required this.url,
this.httpMethod = HttpMethod.$default,
this.headers = const {},
Uint8List? body,
this.oauthToken,
this.oidcToken,
}) : body = body ?? Uint8List(0),
super(fullyQualifiedName);