ImapSettings class

IMAP settings for an account.


ImapSettings.fromJson(Map _json)


autoExpunge bool
If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted.
read / write
enabled bool
Whether IMAP is enabled for the account.
read / write
expungeBehavior String
The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder. Possible string values are: [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
maxFolderSize int
An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]