PriceDetails.fromJson constructor

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

Implementation

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