SurfaceGate class final
Applies the surface matrix to an arriving campaign, once every earlier gate has passed.
A live test is the exception: it always shows, superseding whatever the matrix would have it wait for.
- Inheritance
-
- Object
- RoutingGate
- SurfaceGate
Constructors
-
SurfaceGate(List<
SurfaceOccupant> _occupants(), void _supersede(SurfaceOccupant occupant, {required Map<String, Object> by}), String? _campaignIdOf(String campaignKey)) -
const
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
-
check(
CampaignRequest request) → RoutingDropped? -
The drop this gate decides, or null to let the request continue.
override
-
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