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