PublicStreamingRegion constructor Null safety

PublicStreamingRegion(
  1. {required String uid,
  2. required String roomId,
  3. String alternateImage = "",
  4. required double x,
  5. required double y,
  6. required double w,
  7. required double h,
  8. required int zorder,
  9. required double alpha,
  10. StreamIndex streamType = StreamIndex.main,
  11. TranscoderContentControlType mediaType = TranscoderContentControlType.hasAudioAndVideo,
  12. VideoRenderMode renderMode = VideoRenderMode.hidden,
  13. required SourceCrop sourceCrop}
)

Implementation

PublicStreamingRegion({
  required this.uid,
  required this.roomId,
  this.alternateImage = "",
  required this.x,
  required this.y,
  required this.w,
  required this.h,
  required this.zorder,
  required this.alpha,
  this.streamType = StreamIndex.main,
  this.mediaType = TranscoderContentControlType.hasAudioAndVideo,
  this.renderMode = VideoRenderMode.hidden,
  required this.sourceCrop,
});