stopConfig static method
Stop Wi-Fi configuration process
- Parameters:
- mode: Configuration mode to stop
Implementation
static Future<bool> stopConfig({required EzvizWifiConfigMode mode}) async {
try {
final bool result = await _channel.invokeMethod('stopConfig', {
'mode': _getModeString(mode),
});
return result;
} catch (e) {
ezvizLog('Error stopping config: $e');
return false;
}
}