onNoInternet property
Called when a request fails because there's no internet connection. The supplied VoidCb is a retry callback — call it to re-fire the exact request that failed.
Implementation
static void Function(VoidCb retry)? onNoInternet;
Called when a request fails because there's no internet connection. The supplied VoidCb is a retry callback — call it to re-fire the exact request that failed.
static void Function(VoidCb retry)? onNoInternet;