increaseCounter method Null safety

void increaseCounter()

Implementation

void increaseCounter() {
  _count++;
}