refreshNetwork static method
Refreshes the device network state.
Implementation
static Future<void> refreshNetwork() async {
await GemKitPlatform.instance
.getChannel(mapId: -1)
.invokeMethod(
'networkProviderCall',
jsonEncode(<String, String>{'action': 'refreshNetwork'}),
);
}