toJson method
Converts this AlarmSettings
instance to JSON data.
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'dateTime': dateTime.microsecondsSinceEpoch,
'assetAudioPath': assetAudioPath,
'notificationSettings': notificationSettings.toJson(),
'loopAudio': loopAudio,
'vibrate': vibrate,
'volume': volume,
'volumeEnforced': volumeEnforced,
'fadeDuration': fadeDuration,
'warningNotificationOnKill': warningNotificationOnKill,
'androidFullScreenIntent': androidFullScreenIntent,
};