instance property
FlutterLlamaPlatform
get
instance
The default instance of FlutterLlamaPlatform to use.
Defaults to MethodChannelFlutterLlama.
Implementation
static FlutterLlamaPlatform get instance => _instance;
set
instance
(FlutterLlamaPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterLlamaPlatform when they register themselves.
Implementation
static set instance(FlutterLlamaPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}