name property

String get name

Implementation

String get name {
  switch (this) {
    case OrderEventName.cancel:
      return "Cancel";
    case OrderEventName.deliver:
      return "Deliver";
    case OrderEventName.exchange:
      return "Exchange";
    case OrderEventName.preorder:
      return "Preorder";
    case OrderEventName.purchase:
      return "Purchase";
    case OrderEventName.returnOrder:
      return "Return";
    case OrderEventName.ship:
      return "Ship";
  }
}