AuthTestDeliveryLog<T> class final

Captures provider delivery payloads without logging or serializing them.

The raw values remain in memory only and are exposed through values so a test can complete the corresponding flow. failNext and gateNext make provider failures and concurrent delivery easy to arrange.

Constructors

AuthTestDeliveryLog()

Properties

hashCode int
The hash code for this object.
no setterinherited
latest → T
Most recently captured payload.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<T>
Captured payloads in delivery order.
no setter

Methods

capture(T value) Future<void>
Records value, then applies any configured gate or failure.
clear() → void
Removes every captured payload and pending behavior.
failNext(Object error, [StackTrace? stackTrace]) → void
Configures the next capture call to throw error after recording it.
gateNext(AuthTestGate gate) → void
Pauses the next capture call at gate after recording the payload.
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