fromValue static method
Implementation
static EthereumDetailsConsensusClient fromValue(String value) {
for (final item in EthereumDetailsConsensusClient.values) {
if (item.wireValue == value) {
return item;
}
}
throw ArgumentError('Unknown EthereumDetailsConsensusClient value: $value');
}