SvgDebugAnimationDescriptor.fromJson constructor
Implementation
factory SvgDebugAnimationDescriptor.fromJson(Map<String, Object?> json) {
return SvgDebugAnimationDescriptor(
type: json['type']! as String,
attributeName: json['attributeName']! as String,
durationMs: (json['durationMs']! as num).toInt(),
beginMs: (json['beginMs']! as num).toInt(),
repeatCount: json['repeatCount']! as String,
active: json['active']! as bool,
);
}