increment method
void
increment()
Increments the value by the interval.
Implementation
void increment() {
value = _value + interval;
}
Increments the value by the interval.
void increment() {
value = _value + interval;
}