copyWith method

ChatInviteLinkMember copyWith({
  1. int? userId,
  2. int? joinedChatDate,
  3. bool? viaChatFolderInviteLink,
  4. int? approverUserId,
})

Implementation

ChatInviteLinkMember copyWith({
  int? userId,
  int? joinedChatDate,
  bool? viaChatFolderInviteLink,
  int? approverUserId,
}) =>
    ChatInviteLinkMember(
      userId: userId ?? this.userId,
      joinedChatDate: joinedChatDate ?? this.joinedChatDate,
      viaChatFolderInviteLink:
          viaChatFolderInviteLink ?? this.viaChatFolderInviteLink,
      approverUserId: approverUserId ?? this.approverUserId,
    );