OrderEvent.cancel constructor

OrderEvent.cancel(
  1. Order order
)

Implementation

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