IsBodySuccess typedef
Evaluates whether a decoded response body represents success.
The callback receives the normalized JSON body and the HTTP status code.
Implementation
typedef IsBodySuccess = bool Function(
Map<String, dynamic> json, int? statusCode);