WindowsNotificationAudio.preset constructor

WindowsNotificationAudio.preset({
  1. required WindowsNotificationSound sound,
  2. 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;