Timeline.fromJson constructor
Creates a timeline given JSON-encoded timeline data.
json
is in the chrome://tracing
format. It can be saved to a file
and loaded in Chrome for visual inspection.
Implementation
Timeline.fromJson(this.json) : events = _parseEvents(json);