factory Bid.fromJson(Map<String, dynamic> json) { return Bid( amount: json["amount"], buyerTradeState: json["buyerTradeState"]); }