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