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