stopConnection static method
Implementation
static Future<void> stopConnection() async {
if (!Platform.isIOS) {
log("It's supported only on the iOS platform");
return;
}
await _channel.invokeMethod('stopConnection');
}
static Future<void> stopConnection() async {
if (!Platform.isIOS) {
log("It's supported only on the iOS platform");
return;
}
await _channel.invokeMethod('stopConnection');
}