LabeledPrice.fromJson constructor
Converts a JSON object to a LabeledPrice object
Implementation
factory LabeledPrice.fromJson(Map<String, dynamic> json) {
return LabeledPrice(
label: json['label']!,
amount: json['amount']!,
);
}
Converts a JSON object to a LabeledPrice object
factory LabeledPrice.fromJson(Map<String, dynamic> json) {
return LabeledPrice(
label: json['label']!,
amount: json['amount']!,
);
}