StreamStatusEvent constructor Null safety

StreamStatusEvent(
  1. {double? avgFrameTime,
  2. int? bytesPerSec,
  3. double? cpuUsage,
  4. double? fps,
  5. double? freeDiskSpace,
  6. int? kbitsPerSec,
  7. double? memoryUsage,
  8. int? numDroppedFrames,
  9. int? numTotalFrames,
  10. int? outputSkippedFrames,
  11. int? outputTotalFrames,
  12. bool? previewOnly,
  13. bool? recording,
  14. bool? recordingPaused,
  15. int? renderMissedFrames,
  16. int? renderTotalFrames,
  17. bool? replayBufferActive,
  18. double? strain,
  19. String? streamTimeCode,
  20. bool? streaming,
  21. int? totalStreamTime,
  22. required String updateType}
)

Implementation

StreamStatusEvent(
    {this.avgFrameTime,
    this.bytesPerSec,
    this.cpuUsage,
    this.fps,
    this.freeDiskSpace,
    this.kbitsPerSec,
    this.memoryUsage,
    this.numDroppedFrames,
    this.numTotalFrames,
    this.outputSkippedFrames,
    this.outputTotalFrames,
    this.previewOnly,
    this.recording,
    this.recordingPaused,
    this.renderMissedFrames,
    this.renderTotalFrames,
    this.replayBufferActive,
    this.strain,
    this.streamTimeCode,
    this.streaming,
    this.totalStreamTime,
    required this.updateType});