toJson method
Converts this AlarmSettings
instance to JSON data.
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'dateTime': dateTime.microsecondsSinceEpoch,
'assetAudioPath': assetAudioPath,
'loopAudio': loopAudio,
'vibrate': vibrate,
'volumeMax': volumeMax,
'fadeDuration': fadeDuration,
'notificationTitle': notificationTitle,
'notificationBody': notificationBody,
'enableNotificationOnKill': enableNotificationOnKill,
'stopOnNotificationOpen': stopOnNotificationOpen,
};