onUndefinedResponse method
Handle the undefined response's for HTTP requests.
The data
parameter contains what was returned from your decoder.
Implementation
onUndefinedResponse(dynamic data, Response response, BuildContext? context) {}
Handle the undefined response's for HTTP requests.
The data
parameter contains what was returned from your decoder.
onUndefinedResponse(dynamic data, Response response, BuildContext? context) {}