fromString static method

List<Coin> fromString(
  1. String str
)

Implementation

static List<Coin> fromString(String str) {
  var coinStrings = str.split(COINS_FROM_STRING_REGEX);
  return coinStrings.map((e) => Coin.fromString(e)).toList();
}