PriceDetails.fromJson constructor

PriceDetails.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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