getDenoms static method

List<String> getDenoms(
  1. List<Coin> coins
)

Implementation

static List<String> getDenoms(List<Coin> coins) {
  return coins.map((e) => e.denom!).toList();
}