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