Price.fromJson constructor

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

Implementation

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