SortRequestDto constructor

SortRequestDto({
  1. SortField? sortField,
  2. SortDirection? sortDirection,
})

Creates a sort request. Both fields are optional — when absent the server uses its own default ordering.

Implementation

SortRequestDto({this.sortField, this.sortDirection});