between method

T between(
  1. String from,
  2. String to
)

Checks whether the column value lies BETWEEN from and to.

Implementation

T between(String from, String to) {
  final String filterValue = "$from AND $to";
  return _createFilter(filterValue, "BETWEEN");
}