incrementCounter method

void incrementCounter()

Implementation

void incrementCounter() {
  _counter = _counter! + 1;
}