Order constructor

Order({
  1. required int id,
  2. required String project,
  3. required OrderState state,
  4. double? price,
  5. required String? priceCurrency,
  6. required DateTime created,
  7. required DateTime modified,
  8. required int modelCount,
})

Returns a new Order instance.

Implementation

Order({
  required this.id,
  required this.project,
  required this.state,
  this.price,
  required this.priceCurrency,
  required this.created,
  required this.modified,
  required this.modelCount,
});