fromJS static method

TabStatus fromJS(
  1. String value
)

Implementation

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