parse static method
Parses one exact wire value.
Implementation
static SmfHookProtocolPhase parse(String value) {
for (final phase in values) {
if (phase.value == value) return phase;
}
throw FormatException('Unsupported SMF hook phase "$value".');
}