setFrom method

void setFrom (
  1. int from,
  2. {Options options}
)

sets the from property that is helpful to implement pagination

Implementation

void setFrom(int from, {Options options}) {
  final prev = this.from;
  this.from = from;
  this._applyOptions(options, 'from', prev, this.from);
}