ZhConverter class final
A class for text segments.
Constructors
- ZhConverter.new(String config, {bool? large})
-
config
would not have to add.json
suffix.large
indicate whether to use large memory chunk.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
convert(
String text) → String -
Convert the given
text
to target text as configured. -
dispose(
) → void - Release native resources. An error would occur if called twice.
-
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