operator + method

Decimal operator +(
  1. Decimal other
)

Addition operator.

Implementation

Decimal operator +(Decimal other) =>
    (_rational + other._rational).toDecimal();