createAndroidHighImportanceChannel function
Future<AndroidNotificationChannel>
createAndroidHighImportanceChannel({
- required FlutterLocalNotificationsPlugin localNotificationsPlugin,
Implementation
Future<AndroidNotificationChannel> createAndroidHighImportanceChannel(
{required FlutterLocalNotificationsPlugin localNotificationsPlugin}) async {
await localNotificationsPlugin
.resolvePlatformSpecificImplementation<
AndroidFlutterLocalNotificationsPlugin>()
?.createNotificationChannel(androidChannel);
return androidChannel;
}