LiveTranscodingRegion constructor Null safety

LiveTranscodingRegion(
  1. {required String uid,
  2. required String roomId,
  3. required double x,
  4. required double y,
  5. required double w,
  6. required double h,
  7. int zorder = 0,
  8. double alpha = 1.0,
  9. TranscoderContentControlType contentControl = TranscoderContentControlType.hasAudioAndVideo,
  10. VideoRenderMode renderMode = VideoRenderMode.hidden,
  11. required bool localUser,
  12. bool isScreen = false,
  13. TranscoderLayoutRegionType type = TranscoderLayoutRegionType.videoStream,
  14. Uint8List? data,
  15. TranscoderLayoutRegionDataParam? dataParam}
)

Implementation

LiveTranscodingRegion(
    {required this.uid,
    required this.roomId,
    required this.x,
    required this.y,
    required this.w,
    required this.h,
    this.zorder = 0,
    this.alpha = 1.0,
    this.contentControl = TranscoderContentControlType.hasAudioAndVideo,
    this.renderMode = VideoRenderMode.hidden,
    required this.localUser,
    this.isScreen = false,
    this.type = TranscoderLayoutRegionType.videoStream,
    this.data,
    this.dataParam});