toData static method

List<CoinDataArgs> toData(
  1. List<Coin> coins
)

Implementation

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