isEmpty property

bool get isEmpty

Checks if the current operation is empty.

Implementation

bool get isEmpty {
  return operands.isEmpty && operator == null && result == null;
}