CameraSwitchController constructor

CameraSwitchController(
  1. AbstractSettingsRepository _settingsRepository, {
  2. String? camera,
})

Implementation

CameraSwitchController(this._settingsRepository, {String? camera})
  : camera = RxnString(
      camera ?? _settingsRepository.mediaSettings.value?.videoDevice,
    );