isBetween method

Where isBetween(
  1. dynamic value1,
  2. dynamic value2
)

Implementation

Where isBetween(dynamic value1, dynamic value2) {
  assert(value1.runtimeType == value2.runtimeType, 'Comparison values must be the same type');
  return Where(
    evaluatedField,
    value: [value1, value2],
    compare: Compare.between,
    isRequired: isRequired,
  );
}