ContentBlockerActionType class
ContentBlockerActionType class represents the kind of action that can be used with a ContentBlockerTrigger.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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.
override
-
toValue(
) → String?
Operators
-
operator ==(
Object value) → bool -
The equality operator.
override
Static Methods
-
fromValue(
String? value) → ContentBlockerActionType?
Constants
- block → const ContentBlockerActionType
- Stops loading of the resource. If the resource was cached, the cache is ignored.
- cssDisplayNone → const ContentBlockerActionType
- Hides elements of the page based on a CSS selector. A selector field contains the selector list. Any matching element has its display property set to none, which hides it.
- makeHttps → const ContentBlockerActionType
- Changes a URL from http to https. URLs with a specified (nondefault) port and links using other protocols are unaffected.