AlarmSettings constructor

const AlarmSettings({
  1. required int id,
  2. required DateTime dateTime,
  3. required String assetAudioPath,
  4. required VolumeSettings volumeSettings,
  5. required NotificationSettings notificationSettings,
  6. bool loopAudio = true,
  7. bool vibrate = true,
  8. bool warningNotificationOnKill = true,
  9. bool androidFullScreenIntent = true,
  10. bool allowAlarmOverlap = false,
  11. bool iOSBackgroundAudio = true,
})

Constructs an instance of AlarmSettings.

Implementation

const AlarmSettings({
  required this.id,
  required this.dateTime,
  required this.assetAudioPath,
  required this.volumeSettings,
  required this.notificationSettings,
  this.loopAudio = true,
  this.vibrate = true,
  this.warningNotificationOnKill = true,
  this.androidFullScreenIntent = true,
  this.allowAlarmOverlap = false,
  this.iOSBackgroundAudio = true,
});