fromValue static method

WorkerType fromValue(
  1. String value
)

Implementation

static WorkerType fromValue(String value) =>
    values.firstWhere((e) => e.value == value);