copyWith method
Implementation
BouncingCircle copyWith({double? width, Color? color}) {
return BouncingCircle(
color ?? this.color,
width ?? this.width,
min,
max,
);
}
BouncingCircle copyWith({double? width, Color? color}) {
return BouncingCircle(
color ?? this.color,
width ?? this.width,
min,
max,
);
}