ModelNotFoundException class

Model not found (not downloaded or doesn't exist).

Thrown when calling loadModel for a model that hasn't been downloaded.

Inheritance

Constructors

ModelNotFoundException({required OCRModule module, String reason = 'Model not downloaded'})

Properties

cause → Object?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
finalinherited
module → OCRModule
The module that was not found
final
reason → String
Context about the error
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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