increment method

void increment([
  1. double? amount
])

Implementation

void increment([double? amount]) {
  _actual += (amount ?? 1);
  _sync();
}