filter method

dynamic filter([
  1. String? whereClause
])

Implementation

filter([String? whereClause]) async {
  modelList!.clear();
  this.currentPage = 1;
  this.advanceWhere = whereClause ?? '';

  updateSql(0);
  if (onFilter != null) await onFilter!();
}