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