DelayFault class final
Handle the request, then hold the response for duration, so the echo on the gateway can arrive before it.
- Inheritance
-
- Object
- RequestFault
- DelayFault
Constructors
- DelayFault(String? operationId, Duration duration)
-
Creates the fault.
const
Properties
- duration → Duration
-
How long the response waits.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- operationId → String?
-
The operation the fault applies to, or null for any.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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