SurfaceOccupant class final
One occupant: a campaign routing accepted that has not settled yet.
Constructors
- SurfaceOccupant({required SurfaceKind kind, required String campaignKey, required String cepCampaignId, String? slot, bool isLiveTest = false, bool displayed = false})
-
const
Properties
- campaignKey → String
-
final
- cepCampaignId → String
-
final
- displayed → bool
-
Whether an impression was recorded. Only read for inline, same slot.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLiveTest → bool
-
Whether this occupant is a live test. A real campaign never
displaces one.
final
- kind → SurfaceKind
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slot → String?
-
The inline slot key; null for every other kind.
final
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