copyWith method

  1. @override
PushMessageContentAnimation copyWith({
  1. Animation? animation,
  2. String? caption,
  3. bool? isPinned,
})
override

Implementation

@override
PushMessageContentAnimation copyWith({
  Animation? animation,
  String? caption,
  bool? isPinned,
}) =>
    PushMessageContentAnimation(
      animation: animation ?? this.animation,
      caption: caption ?? this.caption,
      isPinned: isPinned ?? this.isPinned,
    );