onResponseReceived property
void Function(Response response)?
onResponseReceived
final
A function fired, if not null, when the doApiRequest
method receives a response
from the BE. This can be useful to manage broadly a http.Response
the same way
for every api call.
Implementation
final void Function(http.Response response)? onResponseReceived;