InheritedStyleEntry.fromJson constructor
Implementation
factory InheritedStyleEntry.fromJson(Map<String, dynamic> json) {
return InheritedStyleEntry(
inlineStyle: json.containsKey('inlineStyle')
? CSSStyle.fromJson(json['inlineStyle'] as Map<String, dynamic>)
: null,
matchedCSSRules: (json['matchedCSSRules'] as List)
.map((e) => RuleMatch.fromJson(e as Map<String, dynamic>))
.toList(),
);
}