update method
void
update()
Makes trace cache as updated and dumps it when timeout expires.
See dump
Implementation
void update() {
_updated = true;
var now = DateTime.now().millisecondsSinceEpoch;
if (now > _lastDumpTime + _interval) {
try {
dump();
} catch (ex) {
// Todo: decide what to do
}
}
}