createNotificationChannelWithGroupId static method

Future<void> createNotificationChannelWithGroupId(
  1. String channelId,
  2. String channelName,
  3. String channelDescription,
  4. int importance,
  5. String groupId,
  6. bool showBadge
)

Method to create Notification Channel with Group

Implementation

static Future<void> createNotificationChannelWithGroupId(
    String channelId,
    String channelName,
    String channelDescription,
    int importance,
    String groupId,
    bool showBadge) async {
  return await _dartToNativeMethodChannel
      .invokeMethod('createNotificationChannelWithGroupId', {
    'channelId': channelId,
    'channelName': channelName,
    'channelDescription': channelDescription,
    'importance': importance,
    'groupId': groupId,
    'showBadge': showBadge
  });
}