getCoins method

dynamic getCoins(
  1. List<Coin> coinsList,
  2. List<Coin>? wishlist,
  3. List<String> tickerList
)

get all coins

Implementation

getCoins(List<Coin> coinsList, List<Coin>? wishlist,
    List<String> tickerList) async {
  allCoinsList = coinsList;
  if (wishlist != null) {
    wishlistCoinsList = wishlist;
  }
  connectToServer(tickerList);
  update();
}