fromJSON static method

List<Coin> fromJSON(
  1. List<CoinJSON> coins
)

Implementation

static List<Coin> fromJSON(List<CoinJSON> coins) {
  return coins.map((e) => Coin.fromJSON(e)).toList();
}