ContentBlockerAction constructor

ContentBlockerAction({
  1. required ContentBlockerActionType type,
  2. String? selector,
})

Implementation

ContentBlockerAction({required this.type, this.selector}) {
  if (this.type == ContentBlockerActionType.CSS_DISPLAY_NONE) {
    assert(this.selector != null);
  }
}