copyWith method

  1. @override
MessageAnimation copyWith({
  1. Animation? animation,
  2. FormattedText? caption,
  3. 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,
);