value property

String value

Implementation

String get value {
  switch (this) {
    case OrderingOptions.NAME:
      return "name";
    case OrderingOptions.RELEASED:
      return "released";
    case OrderingOptions.ADDED:
      return "added";
    case OrderingOptions.CREATED:
      return "created";
    case OrderingOptions.RATING:
      return "rating";
    default:
      return null;
  }
}