toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SnapshotAttributeToSortBy.sourceType:
      return 'SOURCE_TYPE';
    case SnapshotAttributeToSortBy.totalSize:
      return 'TOTAL_SIZE';
    case SnapshotAttributeToSortBy.createTime:
      return 'CREATE_TIME';
  }
}