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