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