copyWith method

RTCVideoValue copyWith({
  1. double? width,
  2. double? height,
  3. int? rotation,
})

Implementation

RTCVideoValue copyWith({
  double? width, double? height, int? rotation
}) {
  return RTCVideoValue(
    width: width ?? this.width,
    height: height ?? this.height,
    rotation: rotation ?? this.rotation,
  );
}