MailboxAddress class

Address for a specific mailbox (peer + folder)

Constructors

MailboxAddress({required PeerId ownerId, required String folderPath, required MailboxType type})
MailboxAddress.inbox(PeerId ownerId)
Create default inbox address for a peer
factory
MailboxAddress.parse(String fullPath, {MailboxType? type})
Parse from full path string: "12D3KooW.../folder/path"
factory

Properties

folderPath → String
final
fullPath → String
Full path identifier: "peerID/folder/path"
no setter
hashCode → int
The hash code for this object.
no setteroverride
ownerId → PeerId
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → MailboxType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override