fromValue method Null safety

ContentBlockerActionType? fromValue(
  1. String? value
)

Implementation

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