copyWith method
Implementation
@override
PageBlockAnimation copyWith({
Animation? animation,
PageBlockCaption? caption,
bool? needAutoplay,
}) => PageBlockAnimation(
animation: animation ?? this.animation,
caption: caption ?? this.caption,
needAutoplay: needAutoplay ?? this.needAutoplay,
);