copyWith method
Implementation
StepData copyWith({
IconData? icon,
IconData? selectedIcon,
Color? selectedIconColor,
Color? iconColor,
}) {
return StepData(
icon: icon ?? this.icon,
selectedIcon: selectedIcon ?? this.selectedIcon,
selectedIconColor: selectedIconColor ?? this.selectedIconColor,
iconColor: iconColor ?? this.iconColor,
);
}