audioScenario property Null safety

AudioScenario? audioScenario
read / write

Sets the audio parameters and application scenarios.

Sets the audio application scenarios. Under different audio scenarios, the device uses different volume tracks, i.e. either the in-call volume or the media volume. S To know more about AudioScenario have a look over here AudioScenario

Implementation

AudioScenario? audioScenario;