copyWith method

InputPageBlockAnimation copyWith({
  1. InputAnimation? animation,
  2. PageBlockCaption? caption,
  3. bool? hasSpoiler,
})

Implementation

InputPageBlockAnimation copyWith({
  InputAnimation? animation,
  PageBlockCaption? caption,
  bool? hasSpoiler,
}) => InputPageBlockAnimation(
  animation: animation ?? this.animation,
  caption: caption ?? this.caption,
  hasSpoiler: hasSpoiler ?? this.hasSpoiler,
);