timestamp method

  1. @override
void timestamp(
  1. String name,
  2. DateTime value
)
override

Records the given timestamp.

  • name a counter name of Timestamp type.
  • value a timestamp to record.

Implementation

@override
void timestamp(String name, DateTime value) {
  var counter = get(name, CounterType.Timestamp);
  counter.time = value;
  _update();
}