copyWith method
MessageAnimation
copyWith({
- Animation? animation,
- FormattedText? caption,
- bool? hasSpoiler,
- bool? isSecret,
override
Implementation
@override
MessageAnimation copyWith({
Animation? animation,
FormattedText? caption,
bool? hasSpoiler,
bool? isSecret,
}) =>
MessageAnimation(
animation: animation ?? this.animation,
caption: caption ?? this.caption,
hasSpoiler: hasSpoiler ?? this.hasSpoiler,
isSecret: isSecret ?? this.isSecret,
);