copyWith method
Creates a copy of this frame with the given fields replaced.
Implementation
NeonWheelFrame copyWith({
Color? color,
Color? secondaryColor,
Color? plateColor,
}) {
return NeonWheelFrame(
color: color ?? this.color,
secondaryColor: secondaryColor ?? this.secondaryColor,
plateColor: plateColor ?? this.plateColor,
);
}