InMemoryMailboxStore class

In-Memory mailbox store for client handler tests

Inheritance

Constructors

InMemoryMailboxStore(AuthProvider authProvider, {Map<String, List<String>>? store})

Properties

authProvider → AuthProvider
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

countMessagesUIDs(String mailbox) → int
override
getMessage(String mailbox, String uid) → String?
Optional helper to get message content by UID
override
listMessagesUIDs(String mailbox) → List<String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveMailboxes(List<String> recipients) → FutureOr<List<String>>
inherited
store({required String from, required List<String> to, required String body}) → List<String>
override
toString() → String
A string representation of this object.
inherited

Operators

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