ContentBlockerActionType class

Class that 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 Properties

values Set<ContentBlockerActionType>
final

Static Methods

fromValue(String? value) ContentBlockerActionType?

Constants

BLOCK → const ContentBlockerActionType
Stops loading of the resource. If the resource was cached, the cache is ignored.
CSS_DISPLAY_NONE → 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.
MAKE_HTTPS → const ContentBlockerActionType
Changes a URL from http to https. URLs with a specified (nondefault) port and links using other protocols are unaffected.