WindowsNotificationAudio.preset constructor
WindowsNotificationAudio.preset({
- required WindowsNotificationSound sound,
- bool shouldLoop = false,
Audio from a Windows preset. See WindowsNotificationSound for options.
Implementation
WindowsNotificationAudio.preset({
required WindowsNotificationSound sound,
this.shouldLoop = false,
}) : isSilent = false,
source = sound.name;