fromJS static method

JobStatus fromJS(
  1. String value
)

Implementation

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