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