inc method Null safety
- [double amount = 1]
Increment the value of the gauge with labels by amount
.
Increments by one, if no amount is provided.
Implementation
void inc([double amount = 1]) {
value += amount;
}
Increment the value of the gauge with labels by amount
.
Increments by one, if no amount is provided.
void inc([double amount = 1]) {
value += amount;
}