OrderListDataItem constructor

OrderListDataItem({
  1. String? orderId,
  2. String? billType,
  3. String? orderNumber,
  4. String? totalItem,
  5. String? paymentMethod,
  6. String? subTotal,
  7. String? discount,
  8. String? tax,
  9. String? grandTotal,
  10. String? payable,
  11. Status? status,
  12. String? pickUpOptions,
  13. String? pickUpPriority,
  14. String? remarks,
  15. CreatedAtDateTime? createdAtDateTime,
})

Implementation

OrderListDataItem({
    String? orderId,
    String? billType,
    String? orderNumber,
    String? totalItem,
    String? paymentMethod,
    String? subTotal,
    String? discount,
    String? tax,
    String? grandTotal,
    String? payable,
    Status? status,
    String? pickUpOptions,
    String? pickUpPriority,
    String? remarks,
    CreatedAtDateTime? createdAtDateTime,}){
  _orderId = orderId;
  _billType = billType;
  _orderNumber = orderNumber;
  _totalItem = totalItem;
  _paymentMethod = paymentMethod;
  _subTotal = subTotal;
  _discount = discount;
  _tax = tax;
  _grandTotal = grandTotal;
  _payable = payable;
  _status = status;
  _pickUpOptions = pickUpOptions;
  _pickUpPriority = pickUpPriority;
  _remarks = remarks;
  _createdAtDateTime = createdAtDateTime;
}