operator + method

Money operator +(
  1. Money other
)

Money + Money

Implementation

Money operator +(Money other) {
  final sumCents = _cents + other._cents;
  _checkOverflow(sumCents);
  return Money._cached(sumCents, precisionMode);
}