fromJS static method

ProviderError fromJS(
  1. String value
)

Implementation

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