interceptWithAlice method
Intercept http request with alice. This extension method provides additional helpful method to intercept https' response.
Implementation
Future<Response> interceptWithAlice(AliceHttpAdapter adapter,
{dynamic body}) async {
final response = await this;
adapter.onResponse(response, body: body);
return response;
}