disconnect static method

Future<void> disconnect(
  1. bool needPush
)

断开连接

needPush 断开连接之后是否需要远程推送

Implementation

static Future<void> disconnect(bool needPush) async {
  await _channel.invokeMethod(RCMethodKey.Disconnect, needPush);
}