toJson method

  1. @override
Map toJson()
override

Implementation

@override
Map toJson() {
  return {
    if (inlineStyle != null) 'inlineStyle': inlineStyle,
    if (attributesStyle != null) 'attributesStyle': attributesStyle,
    if (matchedCSSRules != null) 'matchedCSSRules': matchedCSSRules,
    if (pseudoElements != null) 'pseudoElements': pseudoElements,
    if (inherited != null) 'inherited': inherited,
    if (cssKeyframesRules != null) 'cssKeyframesRules': cssKeyframesRules,
  };
}