ActiveOrder constructor

ActiveOrder({
  1. required int id,
  2. required OrderState state,
})

Returns a new ActiveOrder instance.

Implementation

ActiveOrder({
  required this.id,
  required this.state,
});