WolfDefenderIsolateManager class final
Runs Wolf Defender in a long-lived worker isolate, so inference does not block the UI isolate. The isolate keeps the ORT session loaded.
Constructors
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
-
classify(
String text) → Future< WolfDefenderResult> -
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
WolfDefenderBundle bundle) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited