ShippingMethods.fromJson constructor
Implementation
ShippingMethods.fromJson(Map<String, dynamic> json) {
id = json['id'];
selected = json['selected'];
label = json['label'];
type = json['type'];
amount = json['amount'] != null ? UnitPrice.fromJson(json['amount']) : null;
}