CreditNoteItem.fromJson constructor
CreditNoteItem.fromJson(
- dynamic json
Implementation
CreditNoteItem.fromJson(dynamic json) {
_orderId = json['order_id'];
_orderNumber = json['order_number'];
_totalItem = json['total_item'];
_subTotal = json['sub_total'];
_discount = json['discount'];
_grandTotal = json['grand_total'];
_status = json['status'] != null ? StatusData.fromJson(json['status']) : null;
_remarks = json['remarks'];
_createdAtDateTime = json['created_at_date_time'] != null ? CreatedAtDateTime.fromJson(json['created_at_date_time']) : null;
_modifyBtnShow = json['modify_btn_show'];
_placeByType = json['place_by_type'];
_cnType = json['cn_type'];
}