Price.fromMap constructor

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

Implementation

factory Price.fromMap(Map<String, dynamic> json) => Price(
    amount: json["amount"],
    currency: json["currency"],
    id: json["id"],
);