Outbox class
A durable queue of serialized reports. Native apps use JSON files in application documents. Browsers use this origin's local storage.
Constructors
- Outbox()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
ack(
String id) → Future< void> -
Removes the queued event with storage key
id. -
enqueue(
ReportEvent event) → Future< void> - Stores the event's serialized payload under its original ID. On native platforms, custom IDs must be single filename components.
-
flushWith(
Reporter pipeline) → Future< void> -
Sends queued payloads through
pipeline, retaining failures for retry. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pending(
) → Future< List< ReportEvent> > - Lists queued events in storage ID order, chronological for generated IDs.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited