AdAncestry class
Encapsulates the script ancestry and the root script filter list rule that caused the resource or element to be labeled as an ad.
Constructors
-
AdAncestry({required List<
AdScriptIdentifier> ancestryChain, String? rootScriptFilterlistRule}) -
AdAncestry.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
ancestryChain
→ List<
AdScriptIdentifier> -
A chain of
AdScriptIdentifiers representing the ancestry of an ad script that led to the creation of a resource or element. The chain is ordered from the script itself (lowest level) up to its root ancestor that was flagged by a filter list.final - hashCode → int
-
The hash code for this object.
no setterinherited
- rootScriptFilterlistRule → String?
-
The filter list rule that caused the root (last) script in
ancestryChainto be tagged as an ad.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