parseCoverOrdersFromEnum static method

String parseCoverOrdersFromEnum(
  1. CoverOrders order
)

Implementation

static String parseCoverOrdersFromEnum(CoverOrders order) {
  switch (order) {
    case CoverOrders.createdAt:
      return 'createdAt';
    case CoverOrders.updatedAt:
      return 'updatedAt';
    case CoverOrders.volume:
      return 'volume';
  }
}