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