copyWith method
Implementation
RTCVideoValue copyWith({
double? width,
double? height,
int? rotation,
bool renderVideo = true,
}) {
return RTCVideoValue(
width: width ?? this.width,
height: height ?? this.height,
rotation: rotation ?? this.rotation,
renderVideo: this.width != 0 && this.height != 0 && renderVideo,
);
}