escape method
Escapes HTML special characters in the string to their corresponding HTML entities.
Implementation
String escape([HtmlEscapeMode mode = HtmlEscapeMode.unknown]) =>
HtmlEscape(mode).convert(this);
Escapes HTML special characters in the string to their corresponding HTML entities.
String escape([HtmlEscapeMode mode = HtmlEscapeMode.unknown]) =>
HtmlEscape(mode).convert(this);