greaterThan function

Builder greaterThan(
  1. Builder value,
  2. Builder other, {
  3. bool reverse = false,
})

Returns the greater than operation of this and other.

this > other

When reverse is true, the result will be:

this < other

Implementation

Builder greaterThan(
  Builder value,
  Builder other, {
  bool reverse = false,
}) {
  final operator = reverse ? '<' : '>';

  return Row.binary(left: value, right: other, operator: operator);
}