getByValue static method

EvmChain getByValue(
  1. num i
)

Implementation

static EvmChain getByValue(num i) {
  return EvmChain.values.firstWhere((x) => x.value == i);
}