lastOperand property
String
get
lastOperand
Returns the last operand of the current operation.
Implementation
String get lastOperand {
if (operands.isNotEmpty) {
if (operands.length == 1 && hasOperator) {
return '';
}
return operands.last;
}
return '';
}