Create converter that escapes HTML characters.
If mode
is provided as either HtmlEscapeMode.attribute or HtmlEscapeMode.element, only the corresponding subset of HTML characters are escaped. The default is to escape all HTML characters.
const HtmlEscape([this.mode = HtmlEscapeMode.unknown]);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-convert/HtmlEscape/HtmlEscape.html