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