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