fromName static method

Bip84Coins? fromName(
  1. String name
)
override

Implementation

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