fromName static method
Implementation
static EthereumMethods? fromName(String? name) {
try {
return values.firstWhere((e) => e.value == name);
} on StateError {
return null;
}
}
static EthereumMethods? fromName(String? name) {
try {
return values.firstWhere((e) => e.value == name);
} on StateError {
return null;
}
}