fromJS static method

LevelOfControl fromJS(
  1. String value
)

Implementation

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