AdScriptAncestry class
Encapsulates the script ancestry and the root script filterlist rule that
caused the frame to be labelled as an ad. Only created when ancestryChain
is not empty.
Constructors
-
AdScriptAncestry.new({required List<
AdScriptId> ancestryChain, String? rootScriptFilterlistRule}) -
AdScriptAncestry.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
ancestryChain
→ List<
AdScriptId> -
A chain of
AdScriptId
s representing the ancestry of an ad script that led to the creation of a frame. The chain is ordered from the script itself (lower level) up to its root ancestor that was flagged by filterlist.final - hashCode → int
-
The hash code for this object.
no setterinherited
- rootScriptFilterlistRule → String?
-
The filterlist rule that caused the root (last) script in
ancestryChain
to be ad-tagged. Only populated if the rule is available.final - 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited