onNoInternet property

void Function(VoidCb retry)? onNoInternet
getter/setter pair

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;