ClientConfig class
Provides discovery information
Constructors
-
ClientConfig({String? version, List<
ConfigEmailProvider> ? emailProviders}) - Creates a new client config
Properties
- displayName → String?
-
Retrieves the first display name
no setter
-
emailProviders
↔ List<
ConfigEmailProvider> ? -
The list of email providers
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFromInsecureSource ↔ bool
-
truewhen this configuration was retrieved over an unprotected connection, e.g. plainhttp://autoconfig.<domain>/.getter/setter pair - isNotValid → bool
-
Checks if the client configuration is not valid
no setter
- isValid → bool
-
Checks if the client configuration is valid
no setter
- preferredIncomingImapServer ↔ ServerConfig?
-
The preferred incoming IMAP-compatible mail server
getter/setter pair
- preferredIncomingPopServer ↔ ServerConfig?
-
The preferred incoming POP-compatible mail server
getter/setter pair
- preferredIncomingServer ↔ ServerConfig?
-
Gets the preferred incoming mail server
getter/setter pair
- preferredOutgoingServer ↔ ServerConfig?
-
The preferred outgoing mail server
getter/setter pair
- preferredOutgoingSmtpServer ↔ ServerConfig?
-
The preferred outgoing SMTP-compatible mail server
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version ↔ String?
-
The version of this document
getter/setter pair
Methods
-
addEmailProvider(
ConfigEmailProvider provider) → void -
Adds the specified email
provider -
enforceSecureSockets(
) → void - Replaces every preferred server that does not use an SSL/TLS socket from the start by its SSL variant on the standard port (IMAP 993, POP 995, SMTP 465).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited