RequestAPI constructor
const
RequestAPI({
- required String authority,
- required Map<
String, String> headers, - required Map<
String, String> queryParameters, - required ProcessResponseMethod processResponseMethod,
- required ProcessStreamedResponseMethod processStreamedResponseMethod,
- bool useJsonEncode = true,
- bool useSSL = true,
- bool debug = false,
- void logFunction()?,
- Client? client,
Implementation
const RequestAPI({
required this.authority,
required this.headers,
required this.queryParameters,
required this.processResponseMethod,
required this.processStreamedResponseMethod,
this.useJsonEncode = true,
this.useSSL = true,
this.debug = false,
this.logFunction,
this.client,
});