increase method

void increase([
  1. double amount = 1
])

Increases the current value by amount.

Implementation

void increase([double amount = 1]) => setValue(value + amount);