ScriptCoverage.fromJson constructor
Implementation
factory ScriptCoverage.fromJson(Map<String, dynamic> json) {
return ScriptCoverage(
scriptId: runtime.ScriptId.fromJson(json['scriptId'] as String),
url: json['url'] as String,
functions: (json['functions'] as List)
.map((e) => FunctionCoverage.fromJson(e as Map<String, dynamic>))
.toList(),
);
}