SvgDebugStats.fromJson constructor
Implementation
factory SvgDebugStats.fromJson(Map<String, Object?> json) {
return SvgDebugStats(
domNodes: (json['domNodes']! as num).toInt(),
animationCount: (json['animationCount']! as num).toInt(),
activeAnimationCount: (json['activeAnimationCount']! as num).toInt(),
filterPrimitiveCount: (json['filterPrimitiveCount']! as num).toInt(),
maskCount: (json['maskCount']! as num).toInt(),
gradientCount: (json['gradientCount']! as num).toInt(),
clipPathCount: (json['clipPathCount']! as num).toInt(),
javaScriptEnabled: json['javaScriptEnabled']! as bool,
currentTimeMs: (json['currentTimeMs'] as num?)?.toInt(),
durationMs: (json['durationMs'] as num?)?.toInt(),
);
}