copyWith method

CPDFUnderlineAttr copyWith({
  1. Color? color,
  2. double? alpha,
})

Implementation

CPDFUnderlineAttr copyWith({
  Color? color,
  double? alpha,
}) {
  return CPDFUnderlineAttr(
    color: color ?? this.color,
    alpha: alpha ?? this.alpha,
  );
}