ShippingMethod.fromJson constructor

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

Implementation

factory ShippingMethod.fromJson(Map<String, dynamic> json) {
  return ShippingMethod(
    amount: json['amount'],
    detail: json['detail'],
    id: json['id'],
    label: json['label'],
  );
}