SafeHtml.trusted constructor
SafeHtml.trusted(
- String html
Creates a SafeHtml instance from html that will bypass sanitization.
Warning: Only use this for content you fully trust. Passing untrusted content can expose your users to XSS attacks.
Implementation
factory SafeHtml.trusted(String html) = SafeHtml._;