Requester constructor
Requester(
- String baseUrl,
- bool ssl, {
- required String method,
- required String route,
- Map<
String, String> headers = const {"Content-Type" : "application/json", "Accept" : "application/json"}, - Map<
String, String> queryParams = const {}, - Map<
String, String> body = const {}, - bool showLoading = true,
- BuildContext? context,
Implementation
Requester(
this.baseUrl,
this.ssl, {
required this.method,
required this.route,
this.headers = const {
"Content-Type": "application/json",
"Accept": "application/json"
},
this.queryParams = const {},
this.body = const {},
this.showLoading = true,
this.context,
});