ReturnOption class

Return option definition for extended commands.

Constructors

ReturnOption.new(String name, [List<String>? _parameters, bool _isSingleParam = false])
ReturnOption.all()
Returns all the message ids or UIDs that satisfies the search parameters.
ReturnOption.children()
Returns mailbox child information as flags "\HasChildren", "\HasNoChildren".
ReturnOption.count()
Returns the match count of the search request.
ReturnOption.max()
Return the maximum message id or UID that satisfies the search parameters.
ReturnOption.min()
Returns the minimum message id or UID that satisfies the search parameters.
ReturnOption.partial(String rangeSet)
Defines a partial range of the found results.
ReturnOption.specialUse()
ReturnOption.status([List<String>? parameters])
Returns given STATUS informations of all matching mailbox names. A number of attributes must be provided for returning their status.
ReturnOption.subscribed()
Returns subscription state of all matching mailbox names.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String parameter) → void
addAll(List<String> parameters) → void
hasParameter(String parameter) bool
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