dec method

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

Decrement the value of the gauge with labels by amount. Decrements by one, if no amount is provided.

Implementation

void dec([double amount = 1]) {
  value -= amount;
}