PeerNotifySettings constructor

const PeerNotifySettings({
  1. required bool showPreviews,
  2. required bool silent,
  3. DateTime? muteUntil,
  4. NotificationSoundBase? iosSound,
  5. NotificationSoundBase? androidSound,
  6. NotificationSoundBase? otherSound,
  7. required bool storiesMuted,
  8. required bool storiesHideSender,
  9. NotificationSoundBase? storiesIosSound,
  10. NotificationSoundBase? storiesAndroidSound,
  11. NotificationSoundBase? storiesOtherSound,
})

Peer Notify Settings constructor.

Implementation

const PeerNotifySettings({
  required this.showPreviews,
  required this.silent,
  this.muteUntil,
  this.iosSound,
  this.androidSound,
  this.otherSound,
  required this.storiesMuted,
  required this.storiesHideSender,
  this.storiesIosSound,
  this.storiesAndroidSound,
  this.storiesOtherSound,
}) : super._();