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