withServerPeerId method

MailboxNotification withServerPeerId(
  1. String peerId
)

Create a copy with a different serverPeerId

Implementation

MailboxNotification withServerPeerId(String peerId) => MailboxNotification(
  mailboxPath: mailboxPath,
  mailboxType: mailboxType,
  messageCount: messageCount,
  timestamp: timestamp,
  serverPeerId: peerId,
  ownerPeerId: ownerPeerId,
);