setMode method Null safety

Future<void> setMode(
  1. AndroidAudioHardwareMode mode
)

(UNTESTED)

Implementation

Future<void> setMode(AndroidAudioHardwareMode mode) async {
  await _channel.invokeMethod('setMode', [mode.index]);
}