Adds a scalar value to the trace.
@override void pushScalar(TraceKey key, double value) { _events.add(TraceEvent.pushScalar(key, value)); }