registerAndroidNotificationChannels method

Future<void> registerAndroidNotificationChannels(
  1. List<NotificationChannel> notificationChannels
)

Implementation

Future<void> registerAndroidNotificationChannels(
    List<NotificationChannel> notificationChannels) {
  return _channel.invokeMethod('push.android.registerNotificationChannels', {
    'notificationChannels':
        notificationChannels.map((channel) => channel.toMap()).toList()
  });
}