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