ToastedQueue class

Constructors

ToastedQueue()

Properties

eventStream Stream<ToastedQueueChangeEvent>
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
dequeue() Future<void>
Immediately transitions the current Toasted toast out. Returns a future that completes when the toast has been successfully dequeued or immediately if the queue is empty.
dispose() → dynamic
enqueue(Toasted toast) Future<void>
Enqueues a Toasted toast. Returns a future that completes the toast is removed from the queue either after it transitions out or when the queue is cleared.
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