OrderRes.fromJson constructor

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

Implementation

factory OrderRes.fromJson(Map<String, dynamic> json) => OrderRes(
      orderId: json["order_id"],
      shipmentId: json["shipment_id"],
      status: json["status"],
      statusCode: json["status_code"],
      onboardingCompletedNow: json["onboarding_completed_now"],
      awbCode: json["awb_code"],
      courierCompanyId: json["courier_company_id"],
      courierName: json["courier_name"],
    );