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