OrderEvent.preorder constructor

OrderEvent.preorder(
  1. Order order
)

Implementation

factory OrderEvent.preorder(Order order) {
  return OrderEvent._(OrderEventName.preorder.name, order);
}