parseScanlationOrderEnum static method

String parseScanlationOrderEnum(
  1. ScanlationOrders order
)

Implementation

static String parseScanlationOrderEnum(ScanlationOrders order) {
  switch (order) {
    case ScanlationOrders.name:
      return 'name';
    case ScanlationOrders.createdAt:
      return 'createdAt';
    case ScanlationOrders.updatedAt:
      return 'updatedAt';
    case ScanlationOrders.followedCount:
      return 'followedCount';
    case ScanlationOrders.relevance:
      return 'relevance';
  }
}