AlarmSettings constructor

const AlarmSettings({
  1. required int id,
  2. required DateTime dateTime,
  3. required String assetAudioPath,
  4. required NotificationSettings notificationSettings,
  5. bool loopAudio = true,
  6. bool vibrate = true,
  7. double? volume,
  8. bool volumeEnforced = false,
  9. double fadeDuration = 0.0,
  10. bool warningNotificationOnKill = true,
  11. bool androidFullScreenIntent = true,
})

Constructs an instance of AlarmSettings.

Implementation

const AlarmSettings({
  required this.id,
  required this.dateTime,
  required this.assetAudioPath,
  required this.notificationSettings,
  this.loopAudio = true,
  this.vibrate = true,
  this.volume,
  this.volumeEnforced = false,
  this.fadeDuration = 0.0,
  this.warningNotificationOnKill = true,
  this.androidFullScreenIntent = true,
});