update method

void update({
  1. int? total,
  2. int? offset,
})

Implementation

void update({int? total, int? offset}) {
  if (total != null) this.total = total;
  if (offset != null) this.offset = offset;
  this.updateState();
}