SanitizationWarning.fromJson constructor
Implementation
factory SanitizationWarning.fromJson(Map<String, dynamic> json) {
return SanitizationWarning(
attributeName: json['attributeName'] as String?,
elementName: json['elementName'] as String?,
reason: (json['reason'] as String?)?.toSanitizationWarningReason(),
);
}