fromJS static method

AccessLevel fromJS(
  1. String value
)

Implementation

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