toString method
Returns the string representation of the expression.
This method should provide a human-readable format of the expression, suitable for display or printing.
Returns:
- A
Stringrepresenting the expression.
Implementation
@override
String toString() {
return "exp(${operand.toString()})";
}