factory Coin.fromJson(Map<String, dynamic> json) => Coin( value: json["value"]?.toDouble(), qty: json["qty"], amount: json["amount"], );