onResponse property
Hook invoked once the response headers are in, before the SSE body is consumed.
Implementation
final FutureOr<void> Function(
int statusCode,
Map<String, String> headers,
Model model,
)?
onResponse;
Hook invoked once the response headers are in, before the SSE body is consumed.
final FutureOr<void> Function(
int statusCode,
Map<String, String> headers,
Model model,
)?
onResponse;