bindToMobileNetwork static method
Implementation
static Future<void> bindToMobileNetwork() async {
if (!Platform.isAndroid) {
throw UnsupportedError('Only supported on Android');
}
try {
await _channel.invokeMethod('bindToMobileNetwork');
} on PlatformException catch (e) {
throw Exception('Failed to bind to mobile network: ${e.message}');
}
}