fromJS static method

Implementation

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