updateOrder method

void updateOrder(
  1. String? field,
  2. bool asc
)

Implementation

void updateOrder(String? field, bool asc) {
  this.field = field;
  this.asc = asc;
}