fromValue static method

BeamWidth fromValue(
  1. String value
)

Implementation

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