VolumeSettings.fixed constructor

const VolumeSettings.fixed({
  1. double? volume,
  2. bool volumeEnforced = false,
})

Constructs VolumeSettings with fixed volume level.

Implementation

const VolumeSettings.fixed({
  double? volume,
  bool volumeEnforced = false,
}) : this._(
        volume: volume,
        volumeEnforced: volumeEnforced,
      );