AgoraChannelData constructor Null safety

AgoraChannelData(
  1. {ChannelProfile? channelProfile,
  2. ClientRole? clientRole,
  3. VideoEncoderConfiguration? videoEncoderConfiguration,
  4. bool? setCameraAutoFocusFaceModeEnabled,
  5. bool? enableDualStreamMode,
  6. StreamFallbackOptions? localPublishFallbackOption,
  7. StreamFallbackOptions? remoteSubscribeFallbackOption,
  8. AudioProfile? audioProfile,
  9. AudioScenario? audioScenario,
  10. BeautyOptions? setBeautyEffectOptions,
  11. bool? setCameraTorchOn,
  12. bool? muteAllRemoteAudioStreams,
  13. bool? muteAllRemoteVideoStreams,
  14. bool isActiveSpeakerDisabled = false}
)

Implementation

AgoraChannelData({
  this.channelProfile,
  this.clientRole,
  this.videoEncoderConfiguration,
  this.setCameraAutoFocusFaceModeEnabled,
  this.enableDualStreamMode,
  this.localPublishFallbackOption,
  this.remoteSubscribeFallbackOption,
  this.audioProfile,
  this.audioScenario,
  this.setBeautyEffectOptions,
  this.setCameraTorchOn,
  this.muteAllRemoteAudioStreams,
  this.muteAllRemoteVideoStreams,
  this.isActiveSpeakerDisabled = false,
});