AlarmSettings constructor
AlarmSettings({})
Model that contains all the settings to customize and set an alarm.
Note that if you want to show a notification when alarm is triggered,
both notificationTitle
and notificationBody
must not be null nor empty.
Implementation
AlarmSettings({
required this.id,
required this.dateTime,
required this.assetAudioPath,
this.loopAudio = true,
this.vibrate = true,
this.fadeDuration = 0.0,
this.notificationTitle,
this.notificationBody,
this.enableNotificationOnKill = true,
});