FilterConfig class
Configuration for the AdblockFilterManager
Constructors
-
FilterConfig({required List<
FilterType> filterTypes, List<String> allowedDomains = const [], List<String> blockedDomains = const []}) - Creates a new FilterConfig instance
Properties
-
allowedDomains
→ List<
String> -
List of domains where ad blocking is disabled (whitelist)
final
-
blockedDomains
→ List<
String> -
List of additional domains to always block (custom block list)
final
-
filterTypes
→ List<
FilterType> -
List of filter types to be used
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited