setToCurrentTime method Null safety
Set the value of the gauge with labels to the current time as a unix timestamp.
Implementation
void setToCurrentTime() {
value = DateTime.now().millisecondsSinceEpoch.toDouble();
}
Set the value of the gauge with labels to the current time as a unix timestamp.
void setToCurrentTime() {
value = DateTime.now().millisecondsSinceEpoch.toDouble();
}