PriceDetails.fromJson(Map<String, dynamic> json) { amount = json['amount']; currency = json['currency']; }