OrderModel constructor

OrderModel({
  1. required String id,
  2. String? hash,
  3. String? status,
  4. String? clientId,
  5. String? orderPaymentInfoId,
  6. DateTime? createdAt,
  7. DateTime? updatedAt,
  8. OrderClientInfo? client,
  9. OrderPaymentInfo? orderPaymentInfo,
})

Implementation

OrderModel({
  required this.id,
  this.hash,
  this.status,
  this.clientId,
  this.orderPaymentInfoId,
  this.createdAt,
  this.updatedAt,
  this.client,
  this.orderPaymentInfo,
});