fromValue static method

Implementation

static ContentBlockerTriggerLoadType? fromValue(String value) {
  return (["first-party", "third-party"].contains(value))
      ? ContentBlockerTriggerLoadType._(value)
      : null;
}