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