hasOperator property

bool get hasOperator

Checks if the current operation has an operator.

Implementation

bool get hasOperator {
  return operator != null && operator!.isNotEmpty;
}