OutputSwitchController constructor

OutputSwitchController(
  1. AbstractSettingsRepository _settingsRepository, {
  2. String? output,
})

Implementation

OutputSwitchController(this._settingsRepository, {String? output})
  : _output = output ?? _settingsRepository.mediaSettings.value?.outputDevice;