factory Coins.fromJson(Map<String, dynamic> json) => Coins( amount: json["amount"], coins: List<Coin>.from(json["coins"].map((x) => Coin.fromJson(x))), );