RemoteStreamSwitch constructor Null safety

RemoteStreamSwitch(
  1. {String uid = '',
  2. bool isScreen = false,
  3. int beforeVideoIndex = 0,
  4. int afterVideoIndex = 0,
  5. bool beforeEnable = false,
  6. bool afterEnable = false,
  7. FallbackOrRecoverReason reason = FallbackOrRecoverReason.unknown}
)

Implementation

RemoteStreamSwitch({
  this.uid = '',
  this.isScreen = false,
  this.beforeVideoIndex = 0,
  this.afterVideoIndex = 0,
  this.beforeEnable = false,
  this.afterEnable = false,
  this.reason = FallbackOrRecoverReason.unknown,
});