toAndroidNotificationChannel method
AndroidNotificationChannel
toAndroidNotificationChannel()
Implementation
AndroidNotificationChannel toAndroidNotificationChannel() {
return AndroidNotificationChannel(
id,
name,
description: description,
groupId: groupId,
importance: importance.getConvertedImportance,
playSound: playSound,
sound: soundPath != null
? RawResourceAndroidNotificationSound(soundPath)
: null,
enableVibration: enableVibration,
vibrationPattern: vibrationPattern,
showBadge: showBadge,
enableLights: enableLights,
ledColor: ledColor,
);
}