FlutterLocalAiWeb class

Web registration for flutter_local_ai.

There is nothing to wire up: the web arm talks to Chrome's Prompt API (self.LanguageModel) directly through JS interop, with no platform channel and no script to load. This class exists so the plugin can declare web support in its pubspec — without it, Flutter reports the plugin as unsupported on web and apps see a misleading build-time warning.

Constructors

FlutterLocalAiWeb()

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

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

Static Methods

registerWith(Registrar registrar) → void