operator + method

ModelCounter operator +(
  1. ModelCounter other
)

Add other ModelCounter as increment value.

他のModelCounterincrementの値として加算します。

Implementation

ModelCounter operator +(ModelCounter other) => increment(other.value);