MailboxAddress.inbox constructor

MailboxAddress.inbox(
  1. PeerId ownerId
)

Create default inbox address for a peer

Implementation

factory MailboxAddress.inbox(PeerId ownerId) {
  return MailboxAddress(
    ownerId: ownerId,
    folderPath: 'inbox',
    type: MailboxType.private,
  );
}