fromJS static method

Implementation

static JavascriptContentSetting fromJS(String value) =>
    values.firstWhere((e) => e.value == value);