Java 颤振是否有createNotificationChannels()方法替代?
我正在使用firebase云消息通知,尝试创建多通道通知系统 搜索之后,我在以下位置找到createNotificationChannels()java语言方法: 我只能使用createNotificationChannel()创建一个通道(默认通道):Java 颤振是否有createNotificationChannels()方法替代?,java,firebase,flutter,dart,firebase-cloud-messaging,Java,Firebase,Flutter,Dart,Firebase Cloud Messaging,我正在使用firebase云消息通知,尝试创建多通道通知系统 搜索之后,我在以下位置找到createNotificationChannels()java语言方法: 我只能使用createNotificationChannel()创建一个通道(默认通道): 等待本地通知splugin() .resolvePlatformSpecificImplementation< AndroidLutterLocalNotificationsPlugin>() ?createNotificationChanne
等待本地通知splugin()
.resolvePlatformSpecificImplementation<
AndroidLutterLocalNotificationsPlugin>()
?createNotificationChannel(channels.defaultChannel);
await FlutterLocalNotificationsPlugin()
.resolvePlatformSpecificImplementation<
AndroidFlutterLocalNotificationsPlugin>()
?.createNotificationChannel(channels.defaultChannel);