FliqRequest constructor
FliqRequest(
- String method,
- String url,
- HttpClient client
Constructs a new instance of FliqRequest.
Example:
final client = Fliq();
final request = client.get('https://example.com');
Implementation
FliqRequest(String method, String url, HttpClient client) {
_responseCompleter = Completer<HttpClientResponse>();
client.openUrl(method, Uri.parse(url)).then((request) {
_client = client;
_request = request;
});
}