byTicker static method

ChainParams? byTicker(
  1. String ticker
)

Implementation

static ChainParams? byTicker(String ticker) {
  final upper = ticker.toUpperCase();
  for (final p in all) {
    if (p.ticker.toUpperCase() == upper) return p;
  }
  return null;
}