RoutingGate class abstract

One rule in the router's ordered list.

A gate either passes (check returns null) or returns the drop that ends routing. The first gate to drop wins; no later gate runs.

Implementers

Constructors

RoutingGate()
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.
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