isUnaryOperator method

  1. @override
bool isUnaryOperator()
override

True if the number of operands for this operator is 1, false if it is 2.

Implementation

@override
bool isUnaryOperator() {
  return unaryOperator;
}