fromValue static method

ContentBlockerActionType? fromValue(
  1. String? value
)

Implementation

static ContentBlockerActionType? fromValue(String? value) {
  return (["block", "css-display-none", "make-https"].contains(value))
      ? ContentBlockerActionType._(value)
      : null;
}