onConnectivityChanged method
If the device's connectivity changes.
Implementation
@override
void onConnectivityChanged(ConnectivityResult result) {}
If the device's connectivity changes.
@override
void onConnectivityChanged(ConnectivityResult result) {}