createChannel static method

Future<void> createChannel(
  1. UNotificationChannel channel
)

Android only: creates a channel with its own sound, vibration and importance (users can mute each). UNotification.createChannel(const UNotificationChannel(id: "orders", name: "Orders"))

Implementation

static Future<void> createChannel(UNotificationChannel channel) => UNotifyChannel.createChannel(channel);