iOS 通知通道是否已打开
@override Future<bool> isIOSChannelOpened() async { if (!Platform.isIOS) { return false; } var opened = await methodChannel.invokeMethod('isChannelOpened'); return opened; }