onResponse method
Called when the response is about to be resolved.
Implementation
@override
void onResponse(
Response<dynamic> response,
ResponseInterceptorHandler handler,
) {
_RapideTicketNetworkLogStore.add(
_NetworkCallSnapshot.fromResponse(
response,
maxBodyPreviewLength: maxBodyPreviewLength,
),
);
handler.next(response);
}