fromJS static method

PrintError fromJS(
  1. String value
)

Implementation

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