factory PriceDetails.fromJson(Map<String, dynamic> json) => PriceDetails( amount: json["amount"] == null ? null : json["amount"], currency: json["currency"] == null ? null : json["currency"], );