KeyframesRule.fromJson constructor
Implementation
factory KeyframesRule.fromJson(Map<String, dynamic> json) {
return KeyframesRule(
name: json.containsKey('name') ? json['name'] as String : null,
keyframes: (json['keyframes'] as List)
.map((e) => KeyframeStyle.fromJson(e as Map<String, dynamic>))
.toList(),
);
}