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