copyWith method
A copy with the given fields replaced.
Implementation
HighlightStyle copyWith({Color? backgroundColor, Color? color}) {
return HighlightStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
color: color ?? this.color,
);
}