RequestInput constructor
RequestInput({
- required String endpoint,
- required RequestMethod method,
- List<
String> ? pathParams, - Map<
String, dynamic> ? queryParams, - Map<
String, String> ? headers, - Map<
String, dynamic> ? formFields, - Map<
String, dynamic> ? jsonBody, - Map<
String, dynamic> ? files, - Duration? timeout,
- dynamic onSendProgress()?,
- dynamic onReceiveProgress()?,
- bool requiresToken = true,
- CancelToken? cancelToken,
- List<
Map< ? listBody,String, dynamic> >
Implementation
RequestInput({
required this.endpoint,
required this.method,
this.pathParams,
this.queryParams,
this.headers,
this.formFields,
this.jsonBody,
this.files,
this.timeout,
this.onSendProgress,
this.onReceiveProgress,
this.requiresToken = true,
this.cancelToken,
this.listBody,
});