InfixExpressionConverter constructor

InfixExpressionConverter({
  1. required String expression,
})

Implementation

InfixExpressionConverter({required String expression}) {
  _expression = '($expression)';
  _operatorsPriority = {')': 0, '+': 1, '-': 1, '/': 2, '*': 2, '^': 3};
  _root = _buildTree();
}