AlarmSettings constructor

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

Model that contains all the settings to customize and set an alarm.

Implementation

const AlarmSettings({
  required this.id,
  required this.dateTime,
  required this.assetAudioPath,
  required this.notificationTitle,
  required this.notificationBody,
  this.loopAudio = true,
  this.vibrate = true,
  this.volume,
  this.fadeDuration = 0.0,
  this.enableNotificationOnKill = true,
  this.androidFullScreenIntent = true,
});