createNotificationChannel method

Future<bool> createNotificationChannel({
  1. required String channelId,
  2. required String channelName,
  3. String? channelDescription,
  4. int? importance,
  5. bool? enableLights,
  6. bool? enableVibration,
  7. String? sound,
})

设置通知渠道

Implementation

Future<bool> createNotificationChannel({
  required String channelId,
  required String channelName,
  String? channelDescription,
  int? importance,
  bool? enableLights,
  bool? enableVibration,
  String? sound,
}) {
  throw UnimplementedError('createNotificationChannel() has not been implemented.');
}