volume property

double? volume
final

Specifies the system volume level to be set at the designated dateTime.

Accepts a value between 0 (mute) and 1 (maximum volume). When the alarm is triggered at dateTime, the system volume adjusts to this specified level. Upon stopping the alarm, the system volume reverts to its prior setting.

If left unspecified or set to null, the current system volume at the time of the alarm will be used. Defaults to null.

Implementation

final double? volume;