addOne method

Counter addOne()

Implementation

Counter addOne() {
  return Counter(counter + 1);
}