fromJson static method

CockpitInteractiveUiLevel fromJson(
  1. Object? value
)

Implementation

static CockpitInteractiveUiLevel fromJson(Object? value) {
  return values.firstWhere(
    (candidate) => candidate.jsonValue == value,
    orElse: () => throw _invalidProfile('Unsupported UI layer value.', value),
  );
}