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