orderBy property

List<String>? get orderBy

Set elements of this array to DownloadItem properties in order to sort search results. For example, setting orderBy=['startTime'] sorts the DownloadItem by their start time in ascending order. To specify descending order, prefix with a hyphen: '-startTime'.

Implementation

List<String>? get orderBy =>
    _wrapped.orderBy?.toDart.cast<String>().map((e) => e).toList();
set orderBy (List<String>? v)

Implementation

set orderBy(List<String>? v) {
  _wrapped.orderBy = v?.toJSArray((e) => e);
}