ConnectivityMonitorListener typedef
ConnectivityMonitorListener =
void Function(bool connected)
Callback for when internet connectivity changes.
Implementation
typedef ConnectivityMonitorListener = void Function(bool connected);