fromValue static method

EthereumDetailsNodeType fromValue(
  1. String value
)

Implementation

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