ContentBlockerActionType class Null safety

Class that 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 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.
const ContentBlockerActionType._internal('block')
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. [...]
const ContentBlockerActionType._internal('css-display-none')
MAKE_HTTPS → const ContentBlockerActionType
Changes a URL from http to https. URLs with a specified (nondefault) port and links using other protocols are unaffected.
const ContentBlockerActionType._internal('make-https')