StatisticalGraph.fromJson constructor
Parses whichever StatisticalGraph subtype the JSON describes.
Implementation
factory StatisticalGraph.fromJson(Map<String, dynamic> json) {
final object = tdObjectFactories[json['@type']]?.call(json);
return object is StatisticalGraph
? object
: UndecodedStatisticalGraph(json);
}