Namespace class

One namespace as advertised in an IMAP NAMESPACE response, compare RFC 2342.

Constructors

Namespace({required String encodedPrefix, String? delimiter, Map<String, List<String>> extensions = const {}})
Creates a new namespace from its wire form.

Properties

delimiter → String?
The hierarchy delimiter used within this namespace, null when the server answered NIL, i.e. the namespace has no hierarchy.
final
encodedPrefix → String
The prefix as the server sent it, e.g. Echoes/ or #shared&-1/
final
extensions → Map<String, List<String>>
Optional response extensions by name, e.g. X-PARAM: [FLAG1, FLAG2].
final
hashCode → int
The hash code for this object.
no setterinherited
prefix → String
The decoded prefix, e.g. Echoes/ or #shared&1/
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited