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