withAttachments method

  1. @override
FeedAddActivityRequest withAttachments({
  1. List<Attachment>? attachments,
  2. List<StreamAttachment>? attachmentUploads,
})

Creates a copy of this request with updated attachments and uploads.

Implementation

@override
FeedAddActivityRequest withAttachments({
  List<Attachment>? attachments,
  List<StreamAttachment>? attachmentUploads,
}) {
  return copyWith(
    attachments: attachments,
    attachmentUploads: attachmentUploads,
  );
}