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