RemoteVideoStats constructor Null safety

RemoteVideoStats(
  1. {int? width,
  2. int? height,
  3. double? videoLossRate,
  4. double? receivedKBitrate,
  5. int? decoderOutputFrameRate,
  6. int? renderOutputFrameRate,
  7. int? stallCount,
  8. int? stallDuration,
  9. int? e2eDelay,
  10. bool? isScreen,
  11. int? statsInterval,
  12. int? rtt,
  13. int? frozenRate,
  14. VideoCodecType? codecType,
  15. int? videoIndex}
)

Implementation

RemoteVideoStats(
    {this.width,
    this.height,
    this.videoLossRate,
    this.receivedKBitrate,
    this.decoderOutputFrameRate,
    this.renderOutputFrameRate,
    this.stallCount,
    this.stallDuration,
    this.e2eDelay,
    this.isScreen,
    this.statsInterval,
    this.rtt,
    this.frozenRate,
    this.codecType,
    this.videoIndex});