stopPush static method

Future<void> stopPush()

停止推送服务

Implementation

static Future<void> stopPush() async {
  try {
    await _channel.invokeMethod('stopPush');
    print('停止推送服务成功');
  } catch (e) {
    print('停止推送服务失败: $e');
  }
}