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.
See https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview
Implementation
Timeline.fromJson(this.json) : events = _parseEvents(json);