OrderModelDetail constructor

OrderModelDetail({
  1. required int id,
  2. required String name,
  3. required OrderState state,
  4. String? website,
  5. double? widthMm,
  6. double? heightMm,
  7. double? depthMm,
  8. required String? model,
  9. required DateTime created,
  10. required DateTime modified,
  11. List<OrderModelFile> files = const [],
  12. List<OrderModelComment> comments = const [],
})

Returns a new OrderModelDetail instance.

Implementation

OrderModelDetail({
  required this.id,
  required this.name,
  required this.state,
  this.website,
  this.widthMm,
  this.heightMm,
  this.depthMm,
  required this.model,
  required this.created,
  required this.modified,
  this.files = const [],
  this.comments = const [],
});