ContentBlockerAction constructor
ContentBlockerAction({
- required ContentBlockerActionType type,
- String? selector,
Implementation
ContentBlockerAction(
{required ContentBlockerActionType type, String? selector}) {
this.type = type;
if (this.type == ContentBlockerActionType.CSS_DISPLAY_NONE) {
assert(selector != null);
}
this.selector = selector;
}