fromName static method

Bip49Coins? fromName(
  1. String name
)
override

Implementation

static Bip49Coins? fromName(String name) {
  try {
    return _coinToConf.keys.firstWhere((element) => element.name == name);
  } on StateError {
    return null;
  }
}