fromJS static method

PrinterStatus fromJS(
  1. String value
)

Implementation

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