MBSortParameter constructor

MBSortParameter({
  1. required String field,
  2. bool ascending = true,
})

Initializes a MBSortParameter with the filed and ascending value (defaults to true).

Implementation

MBSortParameter({
  required this.field,
  this.ascending = true,
});