Raw class
Trusted raw HTML passthrough sugar.
Inserts raw HTML without entity escaping.
Security Warning
Never pass untrusted or user-supplied input to Raw. In the browser,
this sets .innerHTML directly on a <span> wrapper element and bypasses
sanitization.
const mathSnippet = Raw('<math><semantics><mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow></semantics></math>');
- Inheritance
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited