createChannel static method

Future<void> createChannel(
  1. UNotificationChannel channel
)

Implementation

static Future<void> createChannel(UNotificationChannel channel) async {
  if (!kIsWeb) await _call<void>("createChannel", channel.toMap());
}