Accumulator constructor Null safety

Accumulator(
  1. [int _value = 0]
)

Accumulator may be initialized with a specified value, otherwise, it will initialize to zero.

Implementation

Accumulator([this._value = 0]);