ContentBlockerActionType class Null safety

ContentBlockerActionType class represents the kind of action that can be used with a ContentBlockerTrigger.

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
ContentBlockerActionType._('block')
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. [...]
ContentBlockerActionType._('css-display-none')
makeHttps → const ContentBlockerActionType
Changes a URL from http to https. URLs with a specified (nondefault) port and links using other protocols are unaffected. [...]
ContentBlockerActionType._('make-https')