OrderDetail constructor
OrderDetail({
- required int id,
- required String project,
- required OrderState state,
- double? price,
- required String? priceCurrency,
- required DateTime created,
- required DateTime modified,
- List<
OrderModel> models = const [], - List<
OrderComment> comments = const [],
Returns a new OrderDetail instance.
Implementation
OrderDetail({
required this.id,
required this.project,
required this.state,
this.price,
required this.priceCurrency,
required this.created,
required this.modified,
this.models = const [],
this.comments = const [],
});