merge method

  1. @override
TSimpleOperation merge(
  1. covariant TSimpleOperation model
)
override

Merges the current operation with another operation.

Implementation

@override
TSimpleOperation merge(covariant TSimpleOperation model) {
  return TSimpleOperation(
    operands: model.operands,
    operator: model.operator,
    result: model.result,
    isLastOperandPercent: model.isLastOperandPercent,
  );
}