HtmlUnescapeAll class
A Converter that takes HTML5-escaped strings (like ±42
)
and unescapes them into unicode strings (like ±42
).
This class has a dictionary of more than 2000 escape sequences,
including virtually unused ones such as ⟺
.
Consider using the smaller version from
package:html_unescape/html_unescape_small.dart
if you don't need
the converter to be as comprehensive.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
→ List<
String> -
A list of keys (such as
) recognized by this converter.final - maxKeyLength → int
-
The length of the longest key in keys. Used to optimize parsing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ List<
String> -
The list of values (such as
±
). This list has the same length as keys, and strings in it correspond to the strings in keys at the same index.final
Methods
-
bind(
Stream< String> stream) → Stream<String> -
Transforms the provided
stream
.inherited -
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>
view of this stream transformer.inherited -
convert(
String data) → String -
Converts from HTML-escaped
data
to unescaped string.inherited -
fuse<
TT> (Converter< String, TT> other) → Converter<String, TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< String> sink) → StringConversionSink -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited