ImapServerInfo class

Keeps information about the remote IMAP server

Persist this information to improve initialization times.

Constructors

ImapServerInfo(ConnectionInfo info)
Creates a new server info instance

Properties

capabilities List<Capability>?
The known capabilities
getter/setter pair
capabilitiesText String?
The known capabilities as text
getter/setter pair
enabledCapabilities List<Capability>
The enabled capabilities
final
hashCode int
The hash code for this object.
no setterinherited
host String
The used host of the service
final
isSecure bool
true when a secure connection is used
final
pathSeparator String?
The separator for paths, only set after listing the mailboxes
getter/setter pair
port int
The port of the server
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedThreadingMethods List<String>
Retrieves the supported threading methods, e.g. [], ['ORDEREDSUBJECT'] or ['ORDEREDSUBJECT', 'REFERENCES']
no setter
supportsId bool
Does the server support ID?
no setter
supportsIdle bool
Does the server support IDLE?
no setter
supportsMove bool
Does the server support MOVE?
no setter
supportsQresync bool
Does the server support QRESYNC?
no setter
supportsStartTls bool
Does the server support STARTTLS?
no setter
supportsThreading bool
Does the server support THREAD?
no setter
supportsUidPlus bool
Does the server support UID PLUS?
no setter
supportsUtf8 bool
Does the server support UTF-8?
no setter

Methods

isEnabled(String capabilityName) bool
Checks if the capability with the specified capabilityName has been enabled.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supports(String capabilityName) bool
Checks if the capability with the specified capabilityName is supported.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

capabilityId → const String
ID capability with the value ID
capabilityIdle → const String
IDLE capability with the value IDLE
capabilityMove → const String
MOVE capability with the value MOVE
capabilityQresync → const String
capability with the value QRESYNC
capabilityStartTls → const String
STARTTLS capability with the value STARTTLS
capabilityThreadOrderedSubject → const String
THREAD capability with the value THREAD=ORDEREDSUBJECT
capabilityThreadReferences → const String
THREAD capability with the value THREAD=REFERENCES
capabilityUidPlus → const String
UID PLUS capability with the value UIDPLUS
capabilityUtf8Accept → const String
UTF-8 capability with the value UTF8=ACCEPT
capabilityUtf8Only → const String
UTF-8 capability with the value UTF8=ONLY