DwFakeCall class final
What a fake handler knows about the call, and how it publishes.
Properties
- accountId → int?
-
The caller's account;
nullfor an anonymous call.final - appVersion → DwAppVersion
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Every header as it arrived, names in lower case.
final
- idempotencyKey → String?
-
The key of a command.
final
- liveConnection → DwFakeConnection?
-
The live connection the call named in
Dw-Live-Connection, when it is open.final - page → DwPageQuery?
-
The page a paginated request asked for.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → DwFakeServer
-
no setter
- token → String?
-
final
Methods
-
isAccount(
int accountId) → bool -
Whether the caller's account is
accountId. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish(
DwLiveChannel channel, List< DwWireObject> objects) → void -
Publishes
objectstochannelwhen the call ends, as a real server does. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited