copyWith method
Implementation
PipConfiguration copyWith({
Color? backgroundColor,
Color? textColor,
double? textSize,
TextAlign? textAlign,
(int, int)? ratio,
}) {
return PipConfiguration(
backgroundColor: backgroundColor ?? this.backgroundColor,
textColor: textColor ?? this.textColor,
textSize: textSize ?? this.textSize,
textAlign: textAlign ?? this.textAlign,
ratio: ratio ?? this.ratio,
);
}