OrderModel constructor

OrderModel({
  1. required int id,
  2. required String name,
  3. required int order,
  4. required OrderState state,
  5. String? website,
  6. double? widthMm,
  7. double? heightMm,
  8. double? depthMm,
  9. required String? model,
  10. required DateTime created,
  11. required DateTime modified,
})

Returns a new OrderModel instance.

Implementation

OrderModel({
  required this.id,
  required this.name,
  required this.order,
  required this.state,
  this.website,
  this.widthMm,
  this.heightMm,
  this.depthMm,
  required this.model,
  required this.created,
  required this.modified,
});