addOne method

int addOne(
  1. int value
)

Returns value plus 1.

Implementation

int addOne(int value) => value + 1;