deleteNotificationChannel method
删除通知渠道
Implementation
@override
Future<bool> deleteNotificationChannel(String channelId) async {
try {
final result = await methodChannel.invokeMethod<bool>('deleteNotificationChannel', {
'channelId': channelId,
});
return result ?? false;
} catch (e) {
debugPrint('HuaweiPush deleteNotificationChannel error: $e');
return false;
}
}