fromValue static method

Implementation

static ScriptingPolicyViolationType fromValue(String value) =>
    values.firstWhere((e) => e.value == value);