CSSKeyframeRule.fromJson constructor
Implementation
factory CSSKeyframeRule.fromJson(Map<String, dynamic> json) {
return CSSKeyframeRule(
styleSheetId: json.containsKey('styleSheetId')
? StyleSheetId.fromJson(json['styleSheetId'] as String)
: null,
origin: StyleSheetOrigin.fromJson(json['origin'] as String),
keyText: Value.fromJson(json['keyText'] as Map<String, dynamic>),
style: CSSStyle.fromJson(json['style'] as Map<String, dynamic>),
);
}