fromValue static method

EndOfStreamError fromValue(
  1. String value
)

Implementation

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