describeVerbal method

String describeVerbal()

Describe the operator in spoken English (short).

Example: '%' is described as 'modulo'

Implementation

String describeVerbal() {
  switch (this) {
    case DartBlockAlgebraicOperator.add:
      return 'add';
    case DartBlockAlgebraicOperator.subtract:
      return 'subtract';
    case DartBlockAlgebraicOperator.multiply:
      return 'multiply';
    case DartBlockAlgebraicOperator.divide:
      return 'divide';
    case DartBlockAlgebraicOperator.modulo:
      return 'modulo';
  }
}